Does anybody know some code for sending HTML page by e-mail from link on that page?
Hi, if u r asking about the just sending plain html mime, then add the "content-type: text/html\n" to the headers in the mail command.
Thank you Kumar, that is ok, but I want solution for sending html page with rich text format. I mean, sending page with all content on it (images, etc). Is that same content-type like you wrote in your comment?
hi, this is regarding the same issue which ur having, I would like to send a html page from my outlook to my yahoo or hotmail . the point is on the click from the inbox on the subject the html page should open unlike the link, u must have got some newsletters where the html page open directly , if u know this pls let me know, my e-mail id is vedamera@yahoo.com
Hi If you are talking sending HTML instead of plain text in the email body, you have to include a simple header which does the charm for you. Just add,
Content-Type: text/html\n to the header section of the mail() function.
Good Luck.