mailsend icon indicating copy to clipboard operation
mailsend copied to clipboard

How to add multiple headers via -H ?

Open ovizii opened this issue 9 years ago • 1 comments

I tried

-H "Return-Path: [email protected]; Reply-to: [email protected]" -H "Return-Path: [email protected]" -H "Reply-to: [email protected]"

but I can't figure out how to add both headers. One works just fine

ovizii avatar Sep 04 '15 09:09 ovizii

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.

muquit avatar Sep 04 '15 15:09 muquit