Forums | Mahara Community
22 January 2014, 1:30 PM
I wonder if someone could decipher this error message for me. Mahara won't issue email notifications and is returning this error. As far as I can tell everything is configured. I'm guessing there's a problem with php somewhere but I'm not a developer so....
22 January 2014, 2:37 PM
This error can exist for a variety of reasons.
One of which is - if your SMTP encryption setting is SSL - you might need to install the php_openssl extension.
Another is there could be firewall settings blocking the outbound connection/port
Hope this helps,
22 January 2014, 3:11 PM
The important part of that error is this: "Could not connect to SMTP host". Check your Mahara site's mail settings and make sure that it is configured properly: http://manual.mahara.org/en/1.8/administration/config_site.html#index-13
Another thing you could try is setting the "SMTP hosts" field to blank. This will cause Mahara to fall back to using the standard PHP "mail()" command (which basically goes through the web server's "sendmail").
22 January 2014, 8:01 PM
Aaron and Robert
Thank you. As always Mahara community helpful and gracious. My problem is resolved. I double checked the mail settings for smtp and all seemed correct so, since the line of the error that Aaron pointed at was the one staring at me too, I took Aaron's advice and blanked out the host field. It worked.
I'll go back in time and see if I can find my error/missing config at a later date to satisfy curiousity but working is what I need and working is what I have.