Re: [PHP] Mail() troubling formatted text and hyperlinks.. From: Richard Lynch (richard <email protected>)
Date: 12/29/00

> I have just made an automated ecard script.
> It sends the URL as follows:
>
>
http://dhaval.isamillionaire.com/greetingcards.php?uniqueid=50f48a3b715a5f95
5a184086f1ca7d15
>
> the problem is that When I use php mail() function to
> send this card..it doesn't show a hyperlink when I
> send to POP3 a/c's..
> when I send it to yahoo..It automatically becomes a
> hyperlink.
>
> I also want to send a formatted text using the mail()
> function.

yahoo interprets http:// when it displays your email and makes it a link for
you. PHP hasn't done anything different for yahoo.

If you want to send html-formatted email, check out Manuel Lemos mail class.

Note: Some email users will automatically filter and discard html-formatted
email, and your message will go unread. Be sure your userbase *wants*
html-formatted email. Anybody who *really* wants to have their email links
light up can just use a client that does it for them (such as yahoo).

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>