Re: HTML mail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Set Content-Type: text/html in your headers

And just enter in html as your body

example

$body = "\n
<html>
<head>
	<title></title>
</head>
<body>
the rest of your html
</body>

</html>";

mail($to,$subject,$body,$headers)

get the picture?


On Sun, 2003-11-02 at 19:20, Ronald Wiplinger wrote:
> I got an interesting program to do:
> 
> For an MLM company I should make the news letter from the upline to the
> direct downline (A sends emails to his NEXT DIRECT downline B1~ B12 emails)
> To use a database with the from-line and the (three only) to-lines from 
> the same data
> base is easy. HOWEVER, they want me to send HTML emails (with their
> products ....)
> 
> How can I send a HTML email via php?
> 
> bye
> 
> Ronald
> 
> -- 
> Ronald Wiplinger  (CEO of ELMIT)
> http://www.elmit.com    +886 (0) 915 653-452
> - I'm a SpamCon Foundation Member, #694, Verify it at http://www.spamcon.org
> 
> 
> PS: Spam prevention!
> Our system is protected with a spam prevention program. 
> If you send us an e-mail, our system will send you a confirmation message back. Just reply to this confirmation message please. 
> After receiving this confirmation message, our system will send the hold message (one) and all future messages (after the received confirmation message) to me without asking you again.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux