Mail and HTML

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
user___
Forum Contributor
Posts: 297
Joined: Tue Dec 05, 2006 3:05 pm

Mail and HTML

Post by user___ »

Hi guys,
I have a class which sends E-mails to users but I can not send HTML. I send it but get only tags in the very main.

I do need it work with my own script not with any third party packages.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

You need to set the content-type. Have fun with spam filters. :)
user___
Forum Contributor
Posts: 297
Joined: Tue Dec 05, 2006 3:05 pm

Reply

Post by user___ »

I did but I still get tags instead of text. Could you post me a sample of content-type to try it out. I have tried some from sites but none worked.
Post Reply