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.

Note

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.

The default SMTP server

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.

Warning

This option is not recommended for larger mailing operations (for ex. newsletters).

PHP instances

You will use the following configuration for PHP instances:

Server: localhost
User: leave blank
Password: leave blank
Port: 25 (default)

Other instances

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

Restrictions

Note that if you choose to use the SMTP server included with your instance, safety and usage restrictions have been put in place in order to ensure spam protection and maintain the quality of our network infrastructure.

Using SMTP via Gandi Mail

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.

Warning

It is not recommended for larger mailing operations (for ex. newsletters).

You will use the following configuration:

Server: mail.gandi.net
User: user@domaine.tld
Password: your Gandi Mail password
Port: 465

Third-party SMTP servers

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

Note

Important: port 25 cannot be used to connect to external email servers

Restrictions

If you use an external SMTP server, we invite you to contact your provider to understand which usage restrictions may be associated to their product.