• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Email - Missing/Incorrect headers

#1
[eluser]Billy Khan[/eluser]
Have come across some strange naughtiness within libraries/Email.php.

I was battling with some simple email sending, I checked my server and all looked ok, but it would not send email either as "mail" or "sendmail". The debugger would say it couldn't send the email.

After much digging I started outputting debug within libraries/Email.php and spotted that headers were not being written correctly.

Firstly, when set to "mail", it would write the from header like so:
[email protected]
with no From: attribute.

When set to "sendmail", it would not add in the Recipient, resulting in an empty "To" field. When, within the function "_set_header" I hardcoded the "To" as a test, it would finally send the email.

I believe there are issues with the Email library, can anyone else confirm this?


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.