I am having trouble setting up the outbound email. I am using a cPanel address that I set up specifically for this purpose. These are the settings that I’ve configured in SuiteCRM:
From address: admin@crmmason.com
Email provider: other
SMTP server name: mail.crmmason.com
SMTP port: 465
SMTP auth: checked
SMTP protocol: SSL
username: admin@crmmason.com
password
Whenever I try to send a test mail, I get an error popup. This is what the log says:
3: Connection: opening to ssl://mail.crmmason.com:465, timeout=300, options=array()
3: Connection failed. Error #2: stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known [/home/crmmason/public_html/vendor/phpmailer/phpmailer/src/SMTP.php line 321]
3: Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://mail.crmmason.com:465 (php_network_getaddresses: getaddrinfo failed: Name or service not known) [/home/crmmason/public_html/vendor/phpmailer/phpmailer/src/SMTP.php line 321]
1: SMTP ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo failed: Name or service not known (0)
3: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
I am new to SuiteCRM and I don’t understand what I could be doing wrong here. I got all the SMTP info from the cPanel configuration so I know the port and server name are correct. Is there something specific I need to do on the cPanel side to allow it to send email? I would really appreciate any help with this. Thanks.