decorating outgoing email messages
Posted: Tue Aug 21, 2007 12:33 pm
Hi I am trying to 'decorate' my outgoing mails. I am sending emails from my server to my clients using php. In my out going emails, the message should look like something similar to the below. So if the user opens their email, they will see this:
-------------------------------------------------------
Dear Friend,
Thank you for signing up with our site. We gladly invite you to join us in our next contest. Please click here for details.
Sincerely Your's
myCompany@mycompany.com
--------------------------------------------------------
The part in my message that says 'click here' is a link to my website. When I insert the <a href="http://www.mysite.com">click here</a> into the $body variable, the entire <a href="http://www.mysite.com">click here</a> gets printed to the screen.
So my outgoing message actually looks like this:
-------------------------------------------------------------------
Dear Friend,
Thank you for signing up with our site. We gladly invite you to join us in our next contest. Please <a href="http://www.mysite.com">click here</a> for details.
Sincerely Your's
myCompany@mycompany.com
-------------------------------------------------------------------
Am I missing something here? Is this a quotation issue because I'm pretty sure thats how you insert a link into your outgoing messages.
Any help will be gladly appreciated. Thank you.
-------------------------------------------------------
Dear Friend,
Thank you for signing up with our site. We gladly invite you to join us in our next contest. Please click here for details.
Sincerely Your's
myCompany@mycompany.com
--------------------------------------------------------
The part in my message that says 'click here' is a link to my website. When I insert the <a href="http://www.mysite.com">click here</a> into the $body variable, the entire <a href="http://www.mysite.com">click here</a> gets printed to the screen.
So my outgoing message actually looks like this:
-------------------------------------------------------------------
Dear Friend,
Thank you for signing up with our site. We gladly invite you to join us in our next contest. Please <a href="http://www.mysite.com">click here</a> for details.
Sincerely Your's
myCompany@mycompany.com
-------------------------------------------------------------------
Am I missing something here? Is this a quotation issue because I'm pretty sure thats how you insert a link into your outgoing messages.
Any help will be gladly appreciated. Thank you.