• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Question SMTP-Server

Orhun

New Pleskian
Hello people

how can I confug the SMTP server in Plesk and what do I have to enter in the image (Is an image of a script).

Best regards,
Orhun
 

Attachments

  • smtp.png
    smtp.png
    6 KB · Views: 10
When you login from a script that is running on the same server, the SMTP server is localhost, port 25. The username is the name of your mailbox (the same like the email address), the password is the password of that mailbox. Security TLS is fine.
 
Don't work.

It shows the error:

SMTP Exception>>
SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
 
Are you the only user on that server? In that case for reasons of simplicity you can try to disable TLS. If that is not the case, the error can be caused by the "localhost" servername. Instead, try using the real domain name of the host that is protected with the host mail server SSL certificate.
 
You need to use the hostname, that is the one that is set in Tools & Settings > Server Settings > Full Hostname. Please also make sure in Tools & Settings > Security > SSL/TLS certificates that a "Certificate for securing mail" is selected.
 
Back
Top