Sending Emails From Your Website

If you have a website that sends out emails, for example an alert from a contact form, password resets, registrations etc. you’ll need to set this up in your web application.

Website emails are sent in 2 different ways – PHPMail or SMTP. PHPMail is a script normally written into the website. SMTP is sending via your own or a 3rd party mail service.

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.

Our services are hosted on RevCloud, and to prevent the above from happening, Google have blocked these ports. This is why your mail messages need to be configured in a slightly different way.

Even if this wasn’t the case, we would still consider blocking these ports ourselves. Hosting mail accounts on the server takes up space and resource and we want to focus on ensuring that our main hosting service is tip-top.

Fear not though, it’s pretty straight forward and we’ll help you to get this set up quickly.

You can use an external provider. These in the main are:

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 all using SMTP as they work on port 2525.

In our experience, smtp2go has the easiest 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 will work with a higher level of performance as email scripts can eat up a lot of resource and stored emails take up a lot of space.

If you are using GMail as your main email provider, you can use Google’s Email Relay service instead. You shoul find though if you are using GMail email should work as Google allows it’s own IP addresses to use these ports.