happycoding.ai
New Pleskian
- Server operating system version
- Centos 7
- Plesk version and microupdate number
- 18.0.43
I have one VPS with a Plesk server configuration. On the same VPS Plesk-Mail server is running. I am able to send mail through webmail.
But whenever using a script and using the below values to send mail through SMTP, it gives an authentication error.
Note: Same above config working with sSMTP tool
But whenever using a script and using the below values to send mail through SMTP, it gives an authentication error.
How to solve this problem?MAIL_SERVER ='smtp.<domain>'
MAIL_PORT = 587/465
USER=
PASS=
MAIL_USE_TLS = False
MAIL_USE_SSL = True
Note: Same above config working with sSMTP tool