Hey guys,
I'm using MODX 1.0.12. I'm talking about the email settings in MODX's Tools -> Configuration -> User tab.
I was able to set Sendmail's method to SMTP and use the standard settings (standard, non-SSL/TLS setting) based on what my cPanel provides. But when I try using the SMTP SSL/TLS recommended settings (again from cPanel instructions, usually just setting a different host name and port 465), the forms don't work. It keeps giving me an error about mail() not being connected. Anyone had this prob before and figured this out?
EDIT:
Was looking over the approved answer here:
http://stackoverflow.com/questions/18535294/mail-not-sending-with-phpmailer-over-ssl-using-smtp
and noticed there's no equivalent of this line on the manager config page:
$mail->SMTPSecure = "ssl";
Might this be thee issue? And if so, where can I force apply this without editing the manager page?
EDIT 2:
Ok, I figured it out. Just needed to edit the file class.phpmailer.php in manager/includes/controls/phpmailer and set the above as the default value instead of a blank "". Not elegant but at least it works..
[ed. note: diatomin last edited this post 12 years, 5 months ago.]