Send Email on Aruba not working - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=11) +--- Thread: Send Email on Aruba not working (/showthread.php?tid=92298) |
Send Email on Aruba not working - Littlesciu - 01-08-2025 HI, I'm trying to send emails using Aruba SMTP, it works locally but when I publish doesn't work. I tried to view the output of : $email->printDebugger(['headers']); but it returns nothing. Does anyone know what the problem could be?, RE: Send Email on Aruba not working - captain-sensible - 01-08-2025 i dont know but i use PHPMailer with my CI4 ; i like it because it works on local development on appache and live. I have to leverage its use using my own gmail account ; data from web form and rely it to the owner of the web . I installed PHPMailer via composer. What i can tell you is that sometimes there is something the hosting has done or needs to do , so that it works live. So i told my hosting on one occasion hey its working fine local but not on your hosting. They came back yep we did this or that , try it now - and i found it worked. in the contoller that processes data, pushes it through a spam check i have this bit : Code: catch ( \Exception $e) on some occasions its come back " could not authenticate" which hinted to me i got creds wrong for password of email. So maybe you could factoe something like that .The code nicely gets an error and puts it out on a view |