Features
The custom SMTP library is still relatively untested. It may work flawlessly in some environments, but it might not work at all in others. Use with caution.
- Low memory useage - Unlike the built in function, which requires the entire message to be stored in memory, the custom SMTP library allows messages to be streamed, thus requiring very little memory even when sending extremely large messages.
- Support for external SMTP servers - With the custom SMTP library, messages can be sent through an external SMTP server. This allows for improved scalability and flexibility.
- Improved Windows support - Unlike the built in mail function (in PHP < 4.3), the custom SMTP library has full SMTP functionality on any Windows server with SMTP support.
- Authenticated SMTP support - [ still in beta ]
Requirements
All you need is an SMTP server, either installed locally or on a remote server. It must allow SMTP relaying from the machine IlohaMail is installed on.Configuration
To activate the custom SMTP library, specify the SMTP server in conf/conf.inc. If you leave this directive blank, the mail() function built into PHP will be used instead. Since the custom SMTP library is relatively un-tested, you may want to refrain from using it in a production environment.