I Can't Send Emails from My Website

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:

  • Sendgrid
  • Mailgun
  • Spark Post
  • smtp2go


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).

Set up on the whole is easy. They are all really well documented. If you do need some help getting set up, just let us know and we'll be more that happy to help.

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. 
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

Setting Up Email With Your Domain Name

Our hosting accounts don't allow email hosting. Why?We never planned to offer email hosting and...

Emails are Not Being Delivered to My External Mail Service

If you have setup an external mail service such as Gmail, Office 365, Zoho Mail etc. and you are...