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-requ...@lists.debian.org with a > subject of "unsubscribe". Trouble? Contact > listmas...@lists.debian.org > Archive: http://lists.debian.org/51a40673.5080...@rogers.com > In .muttrc: set from = "t...@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. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130528015529.gb21...@uriel.asininetech.com