Use the Mail Settings page to specify a mail server to send automatic mail messages from the server. To configure administrator mail:
Click Server>Mail/Mail Logging in the ColdFusion Administrator navigation frame. The Mail Settings page appears.
Set up a mail server connection as described in the following table:
Setting |
Description |
Default |
Mail Server |
This option enables you to enter a valid mail server for sending dynamic SMTP mail messages in the text box. You can enter an Internet address, such as mail.company.com or the IP address of the mail server, such as 127.0.0.1. |
mail.yourcompany.com |
Verify Mail Server Connection |
To have ColdFusion verify that it can connect to your specified mail server after you submit this form, enable this option. You receive an error message if the connection fails.
Note: Whether or not you use this option, you should send a test mail message when you finish your mail settings. |
Disabled |
Server Port |
Enter the number of the port on which the mail server is running. Contact your server administrator if you are unsure of the appropriate port number. |
25 |
Spool Interval |
Enter the number of seconds at which you want the mail server to process spooled mail. |
60 |
Connection Timeout |
Enter the number of seconds ColdFusion should wait for a response from the mail server. |
60 |
Select preferences for handling of mail logs as described in the following table:
Setting |
Description |
Default |
Error Log Severity |
From the drop-down list, select the type of SMTP-related error message to write to a log file. Values are: Warning, Information, and Error. |
Warning |
Log all E-mail messages sent by ColdFusion |
Enable this option to have the content of all e-mail messages that ColdFusion generates written to a log file. |
Disabled |
Click Submit Changes to save your settings.
Verify that your mail server connection works by sending a test message.
Note: An Administrator mail error log is written to \cfusion\Mail\Log for Windows and /opt/coldfusion/mail/log for Solaris.