Bruce Simms <[EMAIL PROTECTED]> wrote on Tue, 16 May 2000:
> I'm using mutt version 0.95.4.us to send mail with attachments in a
> command line and it works well, but I would like to have the email
> have a different From: as I'm using this in a cron job I would like
> to have the ability to change this when mutt is run.
> 
> Example of my current string.
> 
> mutt [EMAIL PROTECTED] -s "This is a test" -a test.pdf <test1.msg
> 
> Any suggested solutions?

Sure.

Either add a "my_hdr From" line in your .muttrc (you can create a
separate .muttrc just for this purpose and then source it with -F, if
needed), or use -e on the command line to execute the my_hdr command.

For more info, look up my_hdr in the manual.



BTW, questions like this are better posted to mutt-users, not mutt-dev.


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Caution: breathing may be hazardous to your health.

Reply via email to