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
user___
Forum Contributor
Posts: 297 Joined: Tue Dec 05, 2006 3:05 pm
Post
by user___ » Thu Apr 12, 2007 8:51 am
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.
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Thu Apr 12, 2007 8:55 am
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
Post
by user___ » Thu Apr 12, 2007 9:10 am
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.