Developers Documentation

×

Warning

301 error for file:https://clearos.com/dokuwiki2/lib/exe/css.php?t=dokuwiki&tseed=82873f9c9a1f5784b951644363f20ef8

User Tools

Site Tools


Mail Notification

Many apps need to send out alerts via e-mail. You can configure outbound mail settings to make sure these alerts get to you.

Installation

This app is automatically installed when another app requires mail alerts.

You can find this feature in the menu system at the following location:

System|Settings|Mail Notification

Configuration

SMTP Host

The hostname of the SMTP server to connect to.

Port

The port to used to send the initial connection request on. SMTP usually uses port 25.

SSL/TLS

Encryption protocol to use when connecting to the host server.

Username

A valid username to authenticate to the server.

Password

A valid password to authenticate to the server.

Test Relay

Once you have configured the mail settings, it is time to ensure e-mails can get through successfully:

  • Enter your e-mail address into the Test E-mail box
  • Click on

If a successful connection and authentication (if required) is made, you will receive a notification that the test was successful. If the connection could not be made or if authentication using the settings provided failed, you need to go back and check your settings and then repeat the test.

You should also verify that receipt of the test e-mail that is sent to the address specified, especially in the cases where you are using localhost as the SMTP hostname. You may find the test is successful, but you never receive the test message. In this case, the message could be queued on the local server and unable to deliver - usually because an ISP is blocking SMTP traffic.

Examples

Local SMTP Server

If you are running a local ClearOS [SMTP Server]] on the same server, you can leave the default in place (for example, port 25 at localhost). Keep in mind, this assumes that your local mail server is either:

  • relaying directly and your ISP does not filter/block SMTP (port 25) traffic
  • relaying through your ISP's SMTP servers
  • configured to relay through an alternative (possibly non-standard port) relay service

Google Mail (Gmail)

With a valid Gmail account, one can easily set up the this app to relay through Google's SMTP server. Here is an example for a user with a Gmail account of “example@gmail.com”.

  • SMTP Host: smtp.gmail.com
  • Port: 465
  • SSL/TLS: TLS
  • Username: example@gmail.com
  • Password: the_password
content/en_us/6_mail_notification.txt · Last modified: 2015/08/11 12:04 (external edit)

https://clearos.com/dokuwiki2/lib/exe/indexer.php?id=content%3Aen_us%3A6_mail_notification&1710821504