Do server need to have https to send emails via gmail?
This is the correct way to setup email with a Gmail account. You need to go to setting/Email Domain and apply these settings there.
You can either enable âLess Secure Appsâ in Gmail (which may not always work) or use a third-party SMTP service like SMTPmart, Mailgun or Mandrill, which are easier and more reliable for sending emails.
ERPNext can use your VPSâs built-in SMTP server (like Postfix or Exim), but setting it up correctly can be complicated. These servers need to be properly configured to avoid being marked as spam.
For simplicity, I recommend using an SMTP service like SMTPmart or Mailgun. You just need to enter the SMTP details from these services in ERPNextâs Email Settings.
Enable Gmailâs âLess Secure Appsâ or use a third-party SMTP like DigitalAka or SMTPmart for reliability. ERPNext can use VPS SMTP (Postfix/Exim), but setup is complex. For ease, opt for SMTPmart or DigitalAka in Email Settings.