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;
Laravel setup is following:
MAIL_MAILER=smtp MAIL_HOST=localhost MAIL_PORT=25 MAIL_USERNAME= MAIL_PASSWORD= MAIL_ENCRYPTION=null
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 firstname.lastname@example.org.
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:184.108.40.206 include:_spf.zone.eu -all
In order to add authenticity to email that are sent from your webserver, you can use DKIM signature. 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.
DKIM signature is available in our our packages.
You activate DKIM, in “My Zone” and choose
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
Main domain settings->
PHP settings. In the window that opens, change the sendmail_from value to: email@example.com