By beginneruser
Firstly, my apologize, but my English is not the best. (I’m learning this language.:) )
I am a beginner programmer student so probably I will write some stupid things here, sorry for this.:) I would like to create a website with Node.JS on Ubuntu server that can send emails too. (For example when somebody is registering, the server send an email to this user.) Firstly, I used Node.JS and the Nodemailer module with Google SMTP. It worked fine. However, I wanted to create my own email server. I installed Postfix, dovecot based on some tutorials/documentations. So, it worked fine. I could send emails with my own domain (like this noreply@owndomain.com) manually from the terminal. But I couldn’t send emails via Nodemailer. Maybe can somebody help me to find a solution how to configure Postfix etc to use it with Nodemailer? I know, it can be really complex but I hope somebody can help me:)
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!
As far as i Know you must create a ticket and ask the support team to open the smtp for your droplet ,configuring POSTfix with nodemailer is a hectic and bad practice
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.