Content Type mail PHP

When using the mail PHP function to send e-mails one think you should not forget is the Content Type.

I had my contact form wich was sending me e-mails. When somebody was writing in spanish using: ó í the mail was broke up.

The solution is use the UTF-8 charset.

This is the way you should send an e-mail:

No comments yet, leave yours!

Leave a Reply

Add <code> Some Code </code> by using this tags.