Transport

Summary

Controls how eZ Publish delivers outgoing mail.

Usage

Transport=sendmail|smtp|file

Description

This setting controls how eZ Publish should deliver outgoing mail. There are three transport options:

The default value of this setting is "sendmail", which means that mail is delivered directly using the sendmail transfer agent.  This is available on UNIX/Linux systems only, so Windows users should probable use SMTP.

If sendmail is not available then SMTP should be used. (Make sure that SMTP server details are specified using the TransportServer, TransportPort, TransportUser and TransportPassword settings.)

If you need to check/view emails generated by the system without actually sending them out, set this directive to "file". Outgoing mails will be stored as separate files under the "var/log/mail" directory of your eZ Publish installation. Note that this option is for testing and debugging purposes only and should not be used on production/live sites.

From eZ Publish 4.4 (Fuji) onwards, it is possible to send emails with an SSL connection in SMTP.

Examples

Example 1

[MailSettings]
Transport=SMTP
TransportServer=<SMTP SERVER>
TransportConnectionType=ssl
TransportPort=465
TransportUser=<username>
TransportPassword=<password>

The above settings are an example of how your installation needs to be configured to allow your system to send emails with an SSL connection in SMTP.  Of course <SMTP SERVER>, <username> and <password> need to be changed in your own server name, user name and password.  Also port 465 can be changed into any other SSL port you use.

Example 2

[MailSettings]
Transport=SMTP
TransportServer=<SMTP SERVER>
TransportConnectionType=
TransportPort=25
TransportUser=<username>
TransportPassword=<password>

The above is an example of using SMTP sending without any encryption connection. <SMTP SERVER>, <username> and <password> need to be changed in your own server name, user name and password. Also port 25 can be changed into another port you use.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.