• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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