If you have a website that sends out emails, for example an alert from a contact form and you find that you can't send them. This article will expplain the reasons why.
Website emails are sent in 2 different ways - something called PHPMail or SMTP. PHPMail is a script normally written into the website. SMTP is sending via your own mail account.
Both protocols use server ports to connect through to the service required. These are normally port numbers 25, 486 or 587.
These ports are often open to abuse and can cause serious problems with servers - such as overload if spam messages are sent.
Port 25 is especially open to abuse so we've blocked this port. PHPMail is also disabled.
Fear not though, there is something you can do. You can use SMTP but only through port 587. This means that your email client must accept SSL connections. This means you can use your Gmail or Office 365 account.
Alternatively, you can use an external provider. These in the main are:
- Spark Post
They all have a free tier account (up to 12,000 emails a month in the case of Sendgrid). They can all be connected to using an API. If you are using Wordpress they all have a plugin. Or, you can connect to them al using SMTP as they work on port 2525.
In our experience, smtp2go has the easiset setup but the lowest free account option (1000 mails per month).
You will find that by using one of the above, in general, your website willwork with a higher level of performance as email scripts can eat up a lot of resource.
If you are using GMail as your main email provider, you can use Google's Email Relay service instead.