Send HTML as the message of the email. |
[eluser]chengfeng[/eluser]
I am learning to send the email. If the message is a simple text, it is ok. But when I send the message as HTML, It displays the HTML code. Code: $msg="<table> Thanks for helping me!
[eluser]mddd[/eluser]
1: Have you set the email library to use html email? 2: If you send html email you should put in a complete html page. From <html> to </html> tag, including head and body. Also: Are you using actual email addresses in your example code? Seems like a bad idea. |
Welcome Guest, Not a member yet? Register Sign In |