Sending email from Jelastic

As its main focus is hosting complex websites and applications, Jelastic doesn’t include email functionality, but don’t worry there are several options available to you:

Option 1: Use a dedicated email provider (recommended)

For the best combination of functionality, control, improved deliverability, spam feedback loops, real-time tracking, IP reputation monitoring and more, we recommend using a specialist transactional email provider.

These services cater for transactional email sent from your website/application, and you can simply point your application SMTP configuration at them (or use their APIs) to integrate.

Existing Jelastic customers are using the following services:

  • Mailjet
  • Mailgun
  • Sendgrid

At the time of writing, each of these offer a free tier for low volume use.

Option 2: Use sendmail on your web servers

All Jelastic application servers (e.g. Apache, Nginx, Tomcat, Wildfly etc.) run a ‘sendmail’ mail server in the background, enabling you to use JavaMail API or PHP mail() function to send emails from your applications.

For abuse reasons, sendmail is disabled by default on environments created during trial. Please contact our support team with details to request it to be enabled.

We recommend for higher deliverability that you enable a public IP on your web server if you are using this feature. Without a public IP on your web servers, your emails may not be accepted or they might even be filtered as spam.

To add a public IP follow these simple instructions:

1. Login to the Jelastic dashboard

2. Open the Topology wizard

change-topology

3. Switch Public IPv4 ‘ON’ and click ‘Apply’.

public-IP

Option 3: Install your own mailserver on an Elastic VPS

You also have the option to install your own mail server on a VPS and configure it any way you wish. The VPS feature on Jelastic is called Elastic VPS and provides an plain unmanaged CentOS 7 server, with full root access. You are responsible for installing and maintaining any software you require on this node.

The Elastic VPS node type is not available for trial accounts.

Add an Elastic VPS node to your environment by editing the environment topology (as shown below).

elastic VPS

99
1273

Need More Help?

If you're still having problems, get in touch with our 24/7 support team! We'll be more than happy to help.