CodeIgniter Forums
Email Class - weird error page - 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: Email Class - weird error page (/showthread.php?tid=28940)



Email Class - weird error page - El Forum - 03-25-2010

[eluser]Unknown[/eluser]
I've created a registration form which after the validation it sends an email to the new user and redirects the browser to the welcome page of the website.
Well once done, the email is well sent but the page displays the below error.
any ideas ?

Below is the source code of the page i get when i submit the registration form:

ed to authenticate password. Error: %s";
$lang['email_smtp_data_failure'] = "Unable to send data: %s";
$lang['email_exit_status'] = "Exit status code: %s";


/* End of file email_lang.php */
/* Location: ./system/language/english/email_lang.php */<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">

<h4>A PHP Error was encountered</h4>

<p>Severity: Warning</p>
<p>Message: Cannot modify header information - headers already sent by (output started at /mnt/129/sdb/8/0/dune.explorer/codeigniter/system/language/english/email_lang.php:7)</p>
<p>Filename: helpers/url_helper.php</p>
<p>Line Number: 541</p>

</div>[/b]


Email Class - weird error page - El Forum - 03-26-2010

[eluser]danmontgomery[/eluser]
Somewhere in your code you have blank lines after the closing PHP tag at the end of a file.