Skip to content
Snippets Groups Projects
Commit 784184b6 authored by Jared Hancock's avatar Jared Hancock
Browse files

email: Regression for commit #3075 Rev


email:  Regression for commit #3075 

Reviewed-By: default avatarJared Hancock <jared@osticket.com>
parents e44a3314 f7bf48e4
Branches
Tags
No related merge requests found
......@@ -560,7 +560,9 @@ class Mailer {
}
//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);
// Ensure the To: header is properly encoded.
$to = $headers['To'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment