Re: HTML mail
| From: | Alex Shi | Date: | Fri, 07 Sep 2001 03:26:07 +0000 |
| Subject: | Re: HTML mail | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-66314@lists.php.net to get a copy of this message | ||
Hi Sid,
Following link is an article about sending MIME email in php:
http://www.phpbuilder.com/columns/kartic20000807.php3
But I think it is too complicated for me to read:((. I suggest you
can try following instead:
<example>
$email_address="someone@somewhere.com";
$subject="anything you can do";
$email_contents="HTML test: write your HTML tags here";
$tips="Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 7bit";
mail($email_address,$subject,$email_contnets,$tips);
</example>
here $tips is the key for html mail.
Hope this can help.
Alex
----- Original Message -----
From: "Sid" <cyco_sid@phreaker.net>
To: <php-general@lists.php.net>
Sent: Wednesday, September 06, 2000 11:32 AM
Subject: [PHP] HTML mail
> hi,
> How would you send HTML mail using the mail() function in PHP.
> SID
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>