PHP Mail

The following information is required for configuring your email application to use the native mail() functions available in PHP:

SMTP server:

This is the name of the SMTP server used by the object to distribute the generated email.

Valid entries for this include:
  • ip address (e.g. 192.168.0.1)
  • domain name (e.g. mail. server.com)
  • server name, if recognized within your network
This information may also be retrieved using server side code (e.g. <%="server_name"%>).

Port

This specifies the designated port on the computer which the email object will use to send email. The default is 25 and will work for most configurations.

Return Path:

Sets this header to contain definitive information about the email address and route back to the message's originator. Not required.

Organization

Sets the value for the Organization header class of the email. Not required.

X-Mailer

Sets the header that describes the mailer program that was used to create this message. Not required.

Note: For more information and support for the PEAR Mail object, please refer to:

http://us3.php.net/mail