Email function doesn't work since 3 septembre 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
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');
My blog: Interview with Lonnie Ezell
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 (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');
My blog: Interview with Lonnie Ezell
> I don't remeber the CI version, how can i know that ?
PHP Code: echo CI_VERSION; (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.
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 |
Welcome Guest, Not a member yet? Register Sign In |