| Libmail provides support for sending emails from your PHP program. It supports all of the standard fields, plain text or formatted html output and attachments. For testing, it provides the handy ability to dump the output that it would have sent. This especially useful if you are testing in a local environment without access to a mail server. One small problem is that it checks email addresses for validity but it sometimes incorrectly identifies emails as being invalid. The module used to exit at that point but it now continues. You can download the module from here.
The syntax that you need to use (also shown in the libmail.php module) is as follows:
| |||||||
|
| |||||||
|
Web design
Database-driven systems Easy-to-maintain web sites
| Libmail |

