General
If you are hosting your website on Zone virtual server and you would like to send emails out from your website, please note, that ports 25, 1025, 1026, 465 and 587 are closed. Hence you can not use smtp.zone.eu server or any other server that is using the mentioned ports.
In order to send emails from your website, localhost
has to be assigned as SMTP host name and port 25
should be used. Authentication or secure connection (SSL/TLS) is not required. Those values should be assigned as false or none.
Here’s an example of PHP script’s settings:
$mail->Mailer = "smtp"; $mail->Host = "localhost"; $mail->Port = "25"; $mail->SMTPSecure = 'none'; $mail->SMTPAuth = false;
Email limitations
You are allowed to send out one email every five seconds. If you exceed this limit, an automatic restriction will be applied on sending emails via webserver. To remove this restriction, please contact our customer support at support@zone.eu
SPF
When sending out emails from your webserver, please make sure that your domain’s SPF record allows it. Otherwise the emails will be marked as spam or won’t be delivered at all.
In case your domain is using only Zone email services, the SPF record should look like this:
v=spf1 a mx include:_spf.zone.eu -all
If your website is hosted with us, but you are using email services elsewhere, the SPF record should be modified accordingly. Adding include:_spf.zone.eu
to your domain’s SPF record is sufficient. Here’s an example:
v=spf1 ip4:123.4.5.6 include:_spf.zone.eu -all
DKIM
To add authenticity to email that are sent from your webserver, you can use DKIM signing in II and III virtual server package. DKIM will add a cryptographic signature to the email, so that the receiving end can be sure that the email was sent out properly and it has not been forged.
To activate DKIM, log in to “My Zone” and choose Web hosting
->Email
. Further guidelines can be found here.
Changing PHP sendmail_from
By default, the email form your webserver are sent out from webserver’s default email address virtXXX@vserver.zonevs.eu This can be changed with PHP mail() function’s fifth parameter -f.
Te change the default @vserver.zonevs.eu address, log in to “My Zone” and choose Web hosting
->Webserver
->Main domain settings
->Modify
–>PHP settings
. In the window that opens, change the sendmail_from value to: address@name.eu