Base de connaissances · E-mail

Pourquoi les e-mails envoyés depuis mes scripts affichent-ils le nom du serveur et non le nom de domaine ?

Dernière mise à jour : 2020-04-05

This happens when a script is not coded properly. You can code the 'from_name' and 'from_email' into your script to display the proper domain name or email address. You can find a PHP mail tutorial at this URL: http://www.phpfreaks.com/tutorials/130/0.php
http://www.php.net/manual/en/ref.mail.php

If you're referring to the email header records, then that is normal and correct behavior of an SMTP server. You cannot hide the hostname in header records.

← Tous les articles de la base de connaissances

Tell us what you need

Compare available plans or describe your workload so we can discuss a suitable starting point.