Base de conhecimento

1000 perguntas frequentes, 500 tutoriais e vídeos explicativos. Aqui, você encontra apenas soluções!

Use authenticated email sending from a website

Atualização 28/05/2026

This guide details sending authenticated emails from a website/CMS hosted by Infomaniak.

 

Introduction

  • Using an authenticated SMTP server to send emails from your applications offers numerous advantages over the standard, unauthenticated PHP mail() function:
    • enhanced security,
    • improved delivery reliability,
    • more precise error management,
    • optimal compatibility with third-party email servers,
    • and complete tracking of sent emails.
  • Recommended settings:
    • Outgoing SMTP server = mail.infomaniak.com
    • SMTP port & encryption protocol and command/method to activate this protocol: 587 + STARTTLS
    • Username = the complete email address
    • Password = the password generated for the email address you want to use
    • Authentication is mandatory for sending emails:
      • It is activated in the SMTP settings of your CMS.
      • Check "use the same settings as the incoming server" or, depending on the CMS, enter a username (= complete email address) and the generated password.

 

Examples of SMTP configuration…

Prerequisites

  • You must have an email service.
    • You can use the Mail Service offered by Infomaniak or any other email service of your choice.

If you have an email address whose domain is linked to your website (email@domain-site.xyz for example), enter its details so that you can use it for sending emails from your web server via SMTP:

… on WordPress

  1. Log in to the WordPress administration panel.
  2. Install an SMTP plugin ( WP Mail SMTP works).
  3. Configure the plugin, for example:

From then on, an email sent from a contact form on the site (e.g., the default Divi form) will be sent using the SMTP method.

To verify this, simply view the headers of a message received in this way, in particular the x-mailer line, which may mention, for example, WPMailSMTP/Mailer/smtp instead of PHPMailer.

Note: the x-mailer can be any indication and may not necessarily reflect the actual sending method!

 

… on Prestashop

  1. Log in to the Prestashop administration panel.
  2. Go to Advanced Parameters then Email.
  3. Configure sending via SMTP:

Then, check (to avoid an error such as Could not instantiate mail function or sender mismatch) that the address you have configured in these advanced parameters corresponds to the address used by Prestashop when sending emails. To do this:

  1. Log in to the Prestashop administration panel.
  2. Go to Shop Parameters.
  3. Click on Contact in the left-hand menu.
  4. On the Contacts tab, check that the email address mentioned is the same as the one configured previously.
  5. Edit the email addresses if necessary:
  6. Click on the Shops tab.
  7. Check (and correct if necessary) that the email address mentioned is the same as the one configured previously:

 

… on Joomla

  1. Log in to the Joomla administration panel.
  2. Click on System in the left-hand menu.
  3. Click on Global Configuration.
  4. Click on the Server tab:
  5. Configure sending via the SMTP sending method:

Esta seção de perguntas frequentes foi útil?