I eliminated the spaces, yet still get the same result (the command-line method doesn't get the proper "From" value). Any other thoughts?
Wayne >On Wed, Nov 25, 2009 at 01:07:37PM -0600, Wayne Richards wrote: >> I'm getting different results between sending mail from the command line and >> using mutt manually. I can use mutt directly to send mail with the desired >> "From" and "Reply-to" headers. But when I use the command line, the From >> header >> gets changed on me somewhere. >> >> From the command line: >> >> echo "message" | mutt -e 'set from = supp...@example.com' -e 'my_hdr >> Reply-to: supp...@example.com' -F ~/.mutt/plainrc -s "subject" >> w...@example.com > > >My first thought is that you have spaces on either side of the equals >sign in your first -e argument. > > >-- >Monte