Problems sending mail

More and more hosting providers are imposing strong constraints through anti-spam policies and email addresses that are supported or not (in this regard, you should know that more and more hosting providers require that an email address belonging to the domain name concerned be used).

Concretely, let’s imagine that you have a domain “mondomaine.com”, it is possible that sending mail works with contact@mondomaine.com but not with john@gmail.com.

Thank you to dialogue with the technical support of your host by asking them in particular what are the constraints of sending mail and possibly a minimal example of PHP code for sending mail

mail('mail@example.com', 'Mon Sujet', "Mon message");

It is then possible to test this code in the WebAcappella contact form

Contact forms

Note

The required PHP version is: 7.x for the contact form. Make the modification from your webhost’s customer interface or ask for advice from your webhost’s technical support.

We would also like to point out that hosting providers strongly recommend the use of an email address belonging to the domain name, but it is always possible to create a redirection of this email to a Gmail address or other.

Warning

We do not provide technical support for sending problems, as they are dependent on the operating or configuration hazards of the hosting.

Warning

The SMTP protocol is generally blocked in most shared hosting.