Skip to content
Snippets Groups Projects
Commit 8756288c authored by Michael's avatar Michael
Browse files

Merge remote-tracking branch 'osticket-develop/develop' into patch-17

parents 99354f87 784184b6
No related branches found
No related tags found
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.
Finish editing this message first!
Please register or to comment