Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Not much a programmer..
Old 09-19-2008, 04:12 PM Not much a programmer..
Experienced Talker

Posts: 45
Name: Michael Grissinger
Trades: 0
on a site, i have a contact form, which emails their input to me, and an auto responder sends them an email back.
The message goes as follows

Code:
$EmailContentText_2 = "This is an automated response, just to let you know that your request for a proposal is on its way to a real human being. \n\nBecause we carefull......";
How do I format the text to 1. parts of the message be italics. 2. insert a hyperlink. It seems i can't do any html tags within it.

There a way around this?
MadHatterTCM is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-19-2008, 06:35 PM Re: Not much a programmer..
ndr
ndr's Avatar
Novice Talker

Posts: 9
Trades: 0
Actually, you can put HTML tags in your message, only it won't result in a MIME-compliant (i.e. correct) email. It will result in something most email clients will refuse to parse.

The easiest way for you to see how HTML should be embedded in an email message, is to fire up an HTML-enabled mail client, compose the desired message and send it to yourself. Upon receipt, open the message and look at its source. Then simply use the source as a template, snipping all unneeded headers.

With all that having been said, I'd actually advise against embedding HTML into email messages. It'll look pretty in some clients, but with other clients it can be a hassle, and some don't even support it. Plain text never fails.
__________________

Please login or register to view this content. Registration is FREE
- help surfers find your pages after an address change!
Free and ad-free!
ndr is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Not much a programmer..
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.09443 seconds with 12 queries