SMTP Email Setup and Troubleshooting - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: SMTP Email Setup and Troubleshooting (/showthread.php?tid=66688) |
SMTP Email Setup and Troubleshooting - dbrooke - 11-21-2016 Hello, CI 3.x I have created a /config/email.php config file. I have this set: PHP Code: $config['protocol'] = 'smtp'; I'm at a loss how to troubleshoot this... as I don't have access to the mail.jonespublishing.com logs. Relaying from this IP should be allowed. Ideas? Thx, Donovan RE: SMTP Email Setup and Troubleshooting - dbrooke - 11-22-2016 No thoughts? I'm using CPANEL and CI 3.x. Depending on what I put in the config, and how I enact the config.. the two prominent errors are: 'Failed to send AUTH LOGIN' 'Unable to send email using PHP SMTP' Note, if I change the protocol to mail or sendmail, debugger shows it successfully sends.. but I still never the email. Very frustrating. Latest Code: PHP Code: $config = array( RE: SMTP Email Setup and Troubleshooting - dbrooke - 11-29-2016 Updating for the record. The mail server in question was a locked down MAPI server, no listening SMTP. The solution was commenting out the SMTP auth and allowing the I.P. of the sending script to relay. |