How to Send Mail from Your Gandi Web Hosting Using SMTP

You can send emails via the default SMTP server included with your Web Hosting. 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. This email address cannot be a gmail (@gmail.com) address.

The Default SMTP Server

We recommend that you 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 amount of mail traffic.

Warning

This option is not recommended for larger mail operations (for example, newsletters.)

PHP Web Hostings

You will use the following configuration for PHP web hostings:

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

Other Web Hostings

For Node.js and Python web hostings, please specify the SMTP server of the datacenter where the web hosting 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 web hosting, safety and usage restrictions have been put in place for spam protection and to maintain the quality of our network infrastructure.

Using SMTP via Gandi Mail

We recommend you 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 amount of mail traffic.

Warning

This is not recommended for larger mail operations (for example, 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 mail 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

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 with their product.