1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Use authenticated e-mail from a website
This guide details the sending of authenticated e-mail from a website hosted by Infomaniak using a SMTP configuration; The configuration of an authenticated SMTP server is presented for the main CMS.
Preamble
- The use of Authenticated SMTP for sending e-mail from your apps offers advantages in terms of security, reliability, error management, compatibility with third party servers, and traceability in relation to the use of PHP mail not authenticated.
Examples of SMTP configurations...
Prerequisites
- To have a courier service; you have the possibility to use the Mail Service offered by Infomaniak or any other courier service at your convenience.
When you have an email address whose domain is attached to your website ( e-mail@domain-site.xyz e.g.) provide details to use for sending from Web server via SMTP:
... on WordPress
- Log in to the WordPress administration table.
- Install an SMTP extension (WP Mail SMTP works).
- Configure the extension, e.g.:
Therefore, an e-mail sent from a contact form present on the site (default form) Divi e.g.) will be done via a SMTP method.
To make sure, just look at the headers of a message reached through this way, including the line x-mailer
which may mention e.g. WPMailSMTP/Mailer/smtp
for PHPMailer
.
Note: x-mail can be any indication not necessarily representative of the actual shipping method!
... on Prestashop
- Log in to the Prestashop administration board.
- Go under Advanced Parameters then E-mail.
- Configure sending via SMTP:
Then check (to avoid a typical error) Could not instantiate mail function
or sender mismatch
) that the address you have configured in these advanced settings matches well to the address Prestashop uses when sending. To this end:
- Log in to the Prestashop administration board.
- Go under Store Settings.
- Click on Contact in the left side menu.
- On the tab Contacts, check that the e-mail address mentioned is the same as the one previously configured.
- Edit email addresses if necessary:
- Click on the tab Shops.
- Check (and correct if necessary for) that the email address mentioned is the same as the one previously configured:
...on Joomla
- Log in to the Joomla administration board.
- Click on System in the left side menu.
- Click on Global Configuration:
- Click on the tab Server.
- Configure the shipment via the SMTP sending method: