Bug with Email Class: Undefined Subject, although it's sent!!! - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Bug with Email Class: Undefined Subject, although it's sent!!! (/showthread.php?tid=10530) Pages:
1
2
|
Bug with Email Class: Undefined Subject, although it's sent!!! - El Forum - 06-21-2009 [eluser]Matt Stein[/eluser] I'm having the exact same problem. To test, I generated a list of 100+ bogus email addresses at my own domain, and inserted a real address (of my own) at various points within the list. We discovered this problem by sending out a 3000+ email blast, so I'm hoping my bogus address trick will be sufficient for testing. I originally followed <a href="http://ellislab.com/forums/viewthread/69935/" target="_blank">this thread</a>, thinking the HTML was the problem. I corrected my emails to make them entire pages including HTML, HEAD, and BODY tags. Bug with Email Class: Undefined Subject, although it's sent!!! - El Forum - 06-28-2009 [eluser]Thorpe Obazee[/eluser] [quote author="painting753" date="1246222166"]I was sending to 90 email addresses and getting the errors described, this was when bcc_batch_size was set to 20. I just changed it to 100 and all 90 messages went out fine. Can someone from CodeIgniter please look into it and help me understand a fix, or let me know if it’ll just have to be logged as a bug and taken care of in the next release? Regards & Thanks William Picture to Painting Photo to portrait[/quote] Copied post from: http://ellislab.com/forums/viewthread/87108/#586945 Bug with Email Class: Undefined Subject, although it's sent!!! - El Forum - 08-03-2009 [eluser]Matt Stein[/eluser] Bump. Bug with Email Class: Undefined Subject, although it's sent!!! - El Forum - 08-10-2009 [eluser]Unknown[/eluser] pretty complicated, but awesome support here! Bug with Email Class: Undefined Subject, although it's sent!!! - El Forum - 08-10-2009 [eluser]Matt Stein[/eluser] Maybe we're all imagining this thread. Bug with Email Class: Undefined Subject, although it's sent!!! - El Forum - 09-25-2009 [eluser]Matt Stein[/eluser] This thread (and the problem) is more than a year old. Is anybody from EllisLab even willing to acknowledge the bug? Is there a solution that appeared somewhere in the meantime? Bug with Email Class: Undefined Subject, although it's sent!!! - El Forum - 05-23-2010 [eluser]ch5i[/eluser] Ran into the same issue. There is a bug in CI_Email class::_write_headers(). This only happens, if you are using the 'mail' protocol AND are using the bcc_batch_mode AND are sending the mail to more than the number of recipients defined in 'bcc_batch_size' => this causes _write_headers() be called more than once and in the second round it tries to access the 'Subject' index it has unset in the first round. To fix this, the following statement: Code: if ($this->protocol == 'mail') should be this: Code: if ($this->protocol == 'mail') Here the complete fixed method (in system\libraries\Email.php) Code: /** Any comments? Bug with Email Class: Undefined Subject, although it's sent!!! - El Forum - 08-27-2010 [eluser]Unknown[/eluser] I get this problem to however it's with SMTP: A PHP Error was encountered Severity: Notice Message: Undefined index: From Filename: libraries/Email.php Line Number: 921 Severity: Notice Message: Undefined index: Return-Path Filename: libraries/Email.php Line Number: 570 Any suggestions how to solve it? The email is in fact sent. I just get the error anyhow. |