tags:

views:

13

answers:

1

How to use HTML with Function "mail" for send info Coordinated ?

A: 

I believe you may be asking how to send HTML mail using PHP's mail() function.

While you can do so and there's even an example on the manual page, you shouldn't. You have to manage all the MIME bits yourself, and set the correct headers, and that's a bit of a pain.

Instead, grab a third-party library that does all the dirty work for you, like PHPMailer or PEAR Mail or Zend Mail. They're all pure-PHP and licensed so that you can simply bundle them with your application without having to get them installed by the sysadmin.

Charles