I\'m trying to set up a contact form, and I\'m struggling to get it working with the SMTP configuration in CI. However I\'ve successfully tried with the basic \'mail\' confi
Some have reported having an issue with a config item having single quotes:
$config['crlf'] = '\r\n'; //should be "\r\n"
$config['newline'] = '\r\n'; //should be "\r\n"
I'm pretty certain protocol => mail
does not use your provider -- it will send the email directly from your server.
If it's not the single quote issue, it might be an issue with incorrect credentials, firewall or connection requirement (say if your email provider requires TLS/SSL).
Try connecting to the mail server and send an email with another client (you could use telnet: http://www.wikihow.com/Send-Email-Using-Telnet or thunderbird or somesuch) to verify the protocols are correct.