Does SendGrid work from Digital Ocean droplet (Ubuntu 14.04 x64)?

Hi there, I have just set up a droptet on Ubuntu 14.04 and now trying to work with SendGrid api to send emails, but it does not work. Can someone tell me if can use SendGrid from Digital Ocean server? If so, can you please let me know if there is any configuration needed or if you can share some sample code? Thanks.

Show comments

Submit an answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I Estou setting server to validate com Send Grid white label do, but do configuação na tem DNS returned unto me seguinte erros:

Error validating domain: Expected CNAME for “” to match “”. Expected CNAME for “” to match “”.

Can you help me