Announcement

Collapse
No announcement yet.

mail () display all html codes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dan615
    replied
    errr, I thought all you had to do was add Content-type: text/html for the extra headers

    edit: nevermind, i didn't look at scoutt's snippet

    Leave a comment:


  • scoutt
    replied
    yes you do need the headers

    http://www.snippetlibrary.com/viewht...d=13&siteid=99

    Leave a comment:


  • Anakin
    replied
    Don't quote me on this, becuase I'm not sure, but perhaps the mail() function isn't ment to send HTML emails? I have to be honest I've never tried sending HTML emails using mail().

    Another thing may be that you might have to define a particular header in the email in order for the email client to treat it as a HTML email instead of a plain text email.

    Leave a comment:


  • megahard
    replied
    send the email to an account that allows html in emails?

    only some people do, i presonally dont like the idea of having html in an email because then they could send me to different places using meta tags

    Leave a comment:


  • joyce
    started a topic mail () display all html codes

    mail () display all html codes

    i'm using the mail() to send mail to customer once they confirmed their orders.

    my problem is, i wnat to display my mails with tables but when i received the email, it display out all the html codes.

    how can i solve the problem?
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X