Sending E-Mails through your website

Websites and scripts often send E-Mails, i.e. via a contact form. To make sure that these E-Mails arrive successfully, you have to configure how these E-Mails are to be sent. Basically, there are two options available:

  • Sending E-Mails over your webserver
  • Sending E-Mails over external mailserver

In general, such e-mails should be sent using your own web servers. These are intended for automated dispatch and are set up accordingly. When sending through an external mail server, the access data for an e-mail account must be stored and used. This option is only suitable in special cases.

E-Mail dispatch over the web server

The E-Mail service which is installed on the webserver is the option that should be used. Most CMS and scripts are already designed for this and therefore do not require any further configuration. This E-Mail option is often described in the configuration as sending via "PHP" or "Sendmail".

E-Mail dispatch over external mailserver

Sending via external mail servers is done via authenticated SMTP and should only be used in exceptional cases. For example, if the domain of the sender address used does not allow sending via other mail servers due to SPF entries.

In this case, make sure that you use port 587 with STARTTLS when configuring the E-Mail account for sending. Port 587 is intended for authenticated SMTP (with password). Sending via ports 25 and 465 is not permitted for security reasons.

 

Unable to find what you were looking for?

Our support experts are happy to assist you personally!

 

© 2001 - Hostpoint AG