> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.hodi.host/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Which SMTP Server Should I Use for My Site?

[*Click here if you're looking for the SMTP settings for your email software*](https://help.hodi.host/en/article/what-are-the-imap-and-smtp-servers-1si05oh/)

If you need to send emails from your site, you can use `localhost` or `127.0.0.1` on port 25 to send your emails, without authentication.

If you use PHP, you can also use the [mail()](https://www.php.net/manual/fr/function.mail.php) function directly.

In both cases, make sure the sender address matches your domain name and actually exists (e.g. `contact@mapetitentreprise.re` and not `noreply@mapetitentreprise.re`). An invalid sender, or one not hosted on your server (e.g. `mapetiteentreprisee@gmail.com`), may be blocked by our anti-spam system or the recipient's.

**Go further:**

* [How to improve the deliverability of your emails? ](https://help.hodi.host/en/article/how-do-i-improve-the-deliverability-of-my-emails-liodyg/)
* Use a service like [mail-tester](https://www.mail-tester.com/) to check whether your email is properly formatted to avoid being flagged as spam