• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

script cant send email via smtp

Marek_Bojarovic

Basic Pleskian
hi i use postfix/smtp plesk12 centos7,
i create mailbox add pasword
for example my domain is a.com
from roundcube all work no problem.

my script ist working look like this

SMTP CONFIGURATION (LEAVE DEFAULT IF YOU USE mail() )
SMTP HOST smtp.a.com
SMTP PORT 587
SMTP Secure tls
SMTP Auth true
SMTP USERNAME [email protected]
SMTP PASSWORD my password

and the script dont send emails to user, say that Mailer Error: SMTP connect() failed.
in dns setings i dont have smtpa.com host only have mail.a.com
why from scripts dont send email to users? can enebody help ?
 
Most likely you need SMTP HOST mail.a.com - if smtp.a.com is not configured, it cannot work
If you print error message, there may be more details available.
 
Back
Top