Digital Ocean SMTP Blocked

A guide to know and resolve digital ocean SMTP or Port 25 block.

Kunal Saini
Kunal Saini
August 12, 2022
2 min read

The Email API by developers, for developers

Integrate in minutes with our Email API or SMTP and deliver emails to customer's inbox instantly. Mailazy Email API built for developers that fits into any tech stack.

SMTP port 25 which helps you to send emails, is blocked on all Digital Ocean Droplets for new accounts to prevent spam and other abuses of Digital Ocean's platform.

Dedicated cloud email deliverability platforms are better at handling deliverability factors like IP reputation and sender reputation.

Mailazy is a cloud email delivery platform that helps you send your transactional emails without worrying about the technical challenges associated with SMTP.

Getting started with Mailazy

Account Creation:
  1. Navigate to the Sender Authentication of your Mailazy dashboard.
  2. Add the sender domain that you wish to send emails from, for example, if you would like to send emails from example.com then enter example.com and proceed with the verification. You may skip this step if you already have a sender domain configured and authenticated.
  3. Navigate to the Access Keys, Click on Create Access Key to create an API Key and secret so you can authenticate your send email requests.
  4. Start integration with the application, Navigate to Integration Guide https://app.mailazy.com/guide/integrate and select your preferred way to integrate either via email API or SMTP.

You can also check out client libraries and detailed instructions on integration on our docs https://mailazy.com/docs.

  1. Check the status and other details of your email message in the Logs tab of your Mailazy dashboard.

Send Test Email:

SMTP:

Set the following SMTP configuration in your application.

Server/Host: smtp.mailazy.com Port: 587 Username: Access Key generated from the dashboard. Password: Access Secret generated from the dashboard.

Email API:

Send an email by making an HTTP POST request to the Mailazy Email API at https://api.mailazy.com/v1/mail/send

curl --location --request POST 'https://api.mailazy.com/v1/mail/send' \
--header 'x-api-key: {your API Key without bracket}' \
--header 'x-api-secret: {your API Secret without bracket}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "To": [
        "jon@example.com"
    ],
    "From": "any_alias@{your sender domain without bracket}",
    "Subject": "Hello World!",
    "Content": [
        {
            "Type": "text/plain",
            "Value": "hello world"
        },
        {
            "Type": "text/html",
            "Value": "<b>hello world<b/>"
        }
    ]
}'

Please make sure that you insert your API Key and Secret and to value with your own. The from address should be the same verified domain that you have verified on your Mailazy dashboard.



Mailazy Docs

Integrate with Transactional email service in minutes

click here

Most Popular Tags

EngineeringSMTPShort ReadAPIsBest PracticesEmailEmail SecurityEmail APIEmail TemplatesGolang



What is Mailazy?

Mailazy is a Transactional Email Platform specially built for developers which satisfies the requirement for use cases like Reset Password Emails, OTP Emails, Welcome Emails, and so on. The Mailazy platform helps you to send transactional emails seamlessly and track email deliverability. Mailazy enables your applications to send messages via a simple HTTP REST interface or via easy SMTP integration and abstracts away the complexities of sending transactional emails.

Lets get started!

Kunal Saini

Kunal Saini

Kunal is a Lead Software Development Engineer at Mailazy. He graduated in Computer Science and considers himself a learner of life. He loves to play cricket, football and computer games.

View Profile