Sending Mail with SMTP¶
You can send emails via the default SMTP server included with your Simple Hosting instance. You can also either use the SMTP server of Gandi Mail or an external SMTP server provided by a third party.
It is necessary that you fill out the “from” field on the configuration page of your website CMS, otherwise your emails will not be sent out.
We recommend to use the default SMTP server for basic mail exchanges or notifications such as password reset, account activation or any other notification not involving a high mailing traffic.
This option is not recommended for larger mailing operations (for ex. newsletters).
You will use the following configuration for PHP instances:
Server: localhost User: leave blank Password: leave blank Port: 25 (default)
For Node.js, Python and Ruby instances, please specify the SMTP server of the datacenter where the instance was created.
- Paris FR-SD3: - Server: smtp.sd3.gpaas.net - Port: 25 - Paris FR-SD5: - Server: smtp.sd5.gpaas.net - Port: 25 - Paris FR-SD6: - Server: smtp.sd6.gpaas.net - Port: 25 - Luxembourg: - Server: smtp1.dc2.gpaas.net - Port: 25
We recommend to use the Gandi Mail SMTP server for basic mail exchanges or notifications such as password reset, account activation or any other notification not involving a high mailing traffic.
It is not recommended for larger mailing operations (for ex. newsletters).
You will use the following configuration:
Server: mail.gandi.net User: email@example.com Password: your Gandi Mail password Port: 465
This option allows you to send emails with no restriction. This is the best choice for larger mailing operations and extensive email exchanges.
You can set up your own mail server or use the services of an external provider.
In this case, your provider will be able to provide you with the necessary configuration details. In any case, you must use one of the following ports:
SMTPS (SMTP over SSL): 465 SMTP (Submission): 587
Important: port 25 cannot be used to connect to external email servers