Skip to content
Snippets Groups Projects
Commit f7bf48e4 authored by Peter Rotich's avatar Peter Rotich
Browse files

email: Regression for commit #dcfa5527

parent e44a3314
No related branches found
No related tags found
No related merge requests found
...@@ -560,7 +560,9 @@ class Mailer { ...@@ -560,7 +560,9 @@ class Mailer {
} }
//No SMTP or it failed....use php's native mail function. //No SMTP or it failed....use php's native mail function.
$args = array('-f '.$this->getEmail()->getEmail()); $args = array();
if ($this->getEmail())
$args = array('-f '.$this->getEmail()->getEmail());
$mail = mail::factory('mail', $args); $mail = mail::factory('mail', $args);
// Ensure the To: header is properly encoded. // Ensure the To: header is properly encoded.
$to = $headers['To']; $to = $headers['To'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment