Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Mail

MIME needs class?

the mail() function

Moderators: macek, egami, gesf

MIME needs class?

Postby sticksys » Thu Aug 18, 2005 10:51 am

i wanna build a sys for my company site that you can manage mailing list, but! i wanna add html coding and i know that mail(); func is not suporting this.

i heard a little bit about $some = new MIME(); but i was told that i need to build a class or something to make it works..


can someone help me?
sticksys
New php-forum User
New php-forum User
 
Posts: 17
Joined: Thu Aug 18, 2005 12:34 am
Location: isreal

Postby Alexej Kubarev » Thu Aug 18, 2005 1:33 pm

mail() functions DOES support this if you give it a proper Content type header and mime ncoding header... you will also have to fix up your html so it would be 100% W3C complient..

so if you say that you know that mail doesnt support this: you dont know mail() :D no offence thou
hehe.. take a look at http://www.php.net reference of mail function ()
User avatar
Alexej Kubarev
Site Admin
Site Admin
 
Posts: 2223
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län

Postby sticksys » Thu Aug 18, 2005 10:27 pm

ha? :D

I works with the validator of w3c.org [rulez :P]
sticksys
New php-forum User
New php-forum User
 
Posts: 17
Joined: Thu Aug 18, 2005 12:34 am
Location: isreal

Postby Alexej Kubarev » Fri Aug 19, 2005 3:47 am

well... its good... anyways: mail() DOES send HTML emails when give proper headers.. once again: http://www.php.net manual for mail()
User avatar
Alexej Kubarev
Site Admin
Site Admin
 
Posts: 2223
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län


Return to PHP coding => Mail

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron