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

Add Return-Path header for outbound SMTP mail

parent e44f2750
Branches
Tags
No related merge requests found
......@@ -109,7 +109,8 @@ class Mailer {
'Subject' => $subject,
'Date'=> date('D, d M Y H:i:s O'),
'Message-ID' => $messageId,
'X-Mailer' =>'osTicket Mailer'
'X-Mailer' =>'osTicket Mailer',
'Return-Path' => $this->getEmail()->getEmail(),
);
//Set bulk/auto-response headers.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment