Open ovizii opened 8 years ago
The second syntax is correct. mailsend adds the headers fine however SMTP server/gateway can strip them off, there is no guarantee. Run mailsend in verbose mode to make sure that mailsend is adding them. You can also use gmail smtp server to a gmail address to verify that mailsend is adding them. gmail smtp server does not seem to strip custom headers.
Thanks.
I tried
-H "Return-Path: em@ail.tld; Reply-to: em@ail.tld"
-H "Return-Path: em@ail.tld" -H "Reply-to: em@ail.tld"
but I can't figure out how to add both headers. One works just fine