By Sathish B
Hi there I have a website with its main domain hosted with another provider. We are developing the web application which is to be hosted in a DO server. This DO server will be running under a sub domain. WE want to send email from this server using mail gun How this can be accomplished?
Thank you
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!
Hey friend,
The answer to this will be very relative. Mailgun is going to give you connection information. You can either develop your application to use that connection information from scratch, or you can look for existing libraries that assist with SMTP authentication for the language you have chosen to code in. Most likely some type of library already exists. Here is an example of one for Python:
https://docs.python.org/3/library/smtplib.html
Jarland
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.