[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how can I set the from address in mutt?



On Mon, May 27, 2013 at 09:20:51PM -0400, Gary Dale wrote:
> I want to send e-mail with an attachment via a script. The
> attachment requirement prevents me from using mail but mutt can
> handle it.
> 
> Normally when I send using mail, I can simply use the -r option to
> set the mail user account specified in /etc/exim4/passwd.client.
> This is probably clumsy and there must be a better way of doing it
> but it works.
> 
> Now I want to use mutt to send attachments but it doesn't have the
> -r option. Putting in "my_hdr From:" in .muttrc doesn't do it
> either.
> 
> Can someone suggest a way to make this work? It's probably trivial
> but I can't find the solution via google.
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a
> subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> Archive: [🔎] 51A40673.5080404@rogers.com">http://lists.debian.org/[🔎] 51A40673.5080404@rogers.com
> 
In .muttrc:
set from = "test@example.com"
set realname = "John Doe"

See also:
http://dev.mutt.org/trac/wiki/MuttFaq/Header
http://wiki.debian.org/Mutt
-- 
staticsafe
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Please don't top post - http://goo.gl/YrmAb
Don't CC me! I'm subscribed to whatever list I just posted on.


Reply to: