![]() |
Email function doesn't work since 3 septembre 2015 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19) +--- Thread: Email function doesn't work since 3 septembre 2015 (/showthread.php?tid=63634) |
Email function doesn't work since 3 septembre 2015 - pcayrol - 11-21-2015 Hello, I build a php-sql website based on CodeIgniter 3 years ago. I don't remeber the CI version, how can i know that ? So since the september 3rd 2015, no email are sent with the email library of CI... I tried the simply test : PHP Code: $this->load->library('email'); but nothing happens. Someone has an idea to fix or to try to debug ? Thanks a lot and sorry for my poor english... ![]() Paco RE: Emill function doesn't work since 3 septembre 2015 - condor - 11-21-2015 See the mail server logs. Debug, you can: PHP Code: echo $this->email->print_debugger(); I do this: application/config/email.php PHP Code: $config['mailtype'] = 'html'; In the controller: PHP Code: $this->load->library('email'); PHP Code: $this->email->from('[email protected]','From Title'); RE: Emill function doesn't work since 3 septembre 2015 - pcayrol - 11-21-2015 Thanks but still bugging... I don't have a application/config/email.php in my files (maybe a very old CI version). But I test this : PHP Code: $config['mailtype'] = 'html'; No email received... ![]() The debug trace after : Quote:Votre message a bien été expédié via le protocole suivant : mail Thanks for help. Paco RE: Emill function doesn't work since 3 septembre 2015 - condor - 11-22-2015 (11-21-2015, 02:35 PM)pcayrol Wrote: I don't have a application/config/email.php in my files (maybe a very old CI version). By default this file is not present. You can create it. The file will automatically run. I made a simple test runs. PHP Code: defined('BASEPATH') OR exit('No direct script access allowed'); RE: Emill function doesn't work since 3 septembre 2015 - Narf - 11-22-2015 You're not supposed to send @codeigniter.com emails ... RE: Emill function doesn't work since 3 septembre 2015 - kenjis - 11-22-2015 > I don't remeber the CI version, how can i know that ? PHP Code: echo CI_VERSION; RE: Emill function doesn't work since 3 septembre 2015 - pcayrol - 11-22-2015 (11-22-2015, 05:32 AM)Narf Wrote: You're not supposed to send @codeigniter.com emails ... Sorry I just forgotone time to put my email address ? But that's mean do you receive an email from my test ? (that's would mean the problem is my email ???) RE: Emill function doesn't work since 3 septembre 2015 - Narf - 11-22-2015 (11-22-2015, 02:55 PM)pcayrol Wrote:(11-22-2015, 05:32 AM)Narf Wrote: You're not supposed to send @codeigniter.com emails ... No, I don't. Quite the opposite ... your emails may be blocked because you're trying to spoof the domain. RE: Email function doesn't work since 3 septembre 2015 - pcayrol - 11-27-2015 Hello again... I understood the problem : my hotmail (outlook.com) address reject all emails from my website... And that since exactly the september 3rd 2015. I lokk my Outlook options but I didn't find something. So I test with gmail address and it works ![]() Thanks for your help. Paco |