SMTP service droplet for IOT messages

One of my clients manufactures emergency lighting systems for commercial buildings. About 8 years ago I designed firmware for them that includes the capability to email automated test results and problem alerts to customers who’ve installed one or more of their products.

The product has been a success and they have hundreds of these systems installed at customer sites.

Presently, these systems, by default, use a dedicated gmail account to send messages via Google’s SMTP servers. The traffic is light, a few messages per month for each system. This approach has worked very well until recently.

Google has been notifying account holders that as of May 30, 2022 this approach will no longer be supported.

The firmware on my client’s system has the capability change the port, SMTP host address, sender address and password. Anything more elaborate would require an expensive reinstallation of upgraded firmware.

I’m looking into the feasibility of setting up a dedicated SMTP relay in a Droplet. Some guidance on the best way to do this would be really helpful.


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Provident Kenvista is a well arranged project that suits the necessities of all homebuyers. With state of the art comforts and stunning prosperity features, this made home makes sure to make you and your family incredibly joyful and sound. providentkenvista-in

Bobby Iliev
Site Moderator
Site Moderator badge
May 11, 2022

Hi there,

In addition to what @KFSys mentioned already, you could also try out SendGrid:

They provide a free SMTP plan which is sufficient for most use cases and that way you will not have to manage your own mail server.



Site Moderator
Site Moderator badge
May 10, 2022

Hi @michaelf-ellis,

This is possible with DigitalOcean Droplets. What you can do is follow this article here:

It will let you install an SMTP only Postfix server for sending out messages. Having said that when you create your account make sure to send a ticket to DigitalOcean’s support explaining the situation so that they can allow you port 25,465 and 587.