By Greg Painter
Hello, im trying to get emails working in rocketchat which is hosted here but i’ve had no luck, i’ve got emails test via pinigng the api so it is working but in the programme i get no luck, any help or ideas?
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!
Accepted Answer
Hey Greg,
One thing to note is that the SMTP ports (25, 465, 587) are blocked by default on DigitalOcean Droplets, which can cause issues with apps like Rocket.Chat if they’re trying to send email via SMTP:
Since you’re using SendGrid, the best option is to use SendGrid’s API instead of SMTP, that avoids port issues entirely. Make sure Rocket.Chat is configured to use SendGrid’s API key and endpoint, not SMTP.
If nothing works, best to reach out to the DigitalOcean support so they can take a closer look:
- Bobby
Heya, @gregpainter
SMTP is now disabled by default on all new accounts, meaning the SMTP ports will be blocked. To send mail from DigitalOcean, we recommend using SendGrid via the SendGrid Marketplace 1-Click App.
I’ve tried to check rocketchat docs for the email configuration to explore some other ways to deal with the issue but this leads to a 404 page now - https://docs.rocket.chat/docs/email-configuration
Regards
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.