Skip to content
Snippets Groups Projects
Commit bed74057 authored by rswindell's avatar rswindell
Browse files

Bugfix: SendMail 'delivery failure' messages no longer inherit the bounced...

Bugfix: SendMail 'delivery failure' messages no longer inherit the bounced message's delivery attempt counter.
parent 59cac46c
No related branches found
No related tags found
No related merge requests found
......@@ -1847,6 +1847,8 @@ BOOL bounce(smb_t* smb, smbmsg_t* msg, char* err, BOOL immediate)
newmsg.total_hfields=0;
newmsg.idx.to=newmsg.idx.from;
newmsg.idx.from=0;
newmsg.hdr.delivery_attempts=0;
smb_hfield(&newmsg, RECIPIENT, (ushort)strlen(newmsg.from), newmsg.from);
if(newmsg.idx.to) {
sprintf(str,"%u",newmsg.idx.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