Mutt reply address

Richard D. Williams richard at appgrp.net
Sat Mar 18 12:22:32 PST 2006


I use mutt all the time and here is what I do for a reply address.

I place a file in /appl/MUTT for each user.
Here is my sample file located in /appl/MUTT/richard.


set hostname=appgrp.net

my_hdr From:richard at appgrp.net

set realname="Richard D. Williams"

Then when I use mutt inside filepro I can set that mutt file in the 
command line.

i.e.
system "echo -e \"some message\" - mutt -F /appl/MUTT/richard -s 
\"Subject\" -a /tmp/attachment1 -a /tmp/attachment2 email1 at somewhere.com 
email2 at somewhere.com

(The example is for multiple attachments and recipients)

This file can be retrieved in this way:
'set some default file in case a user does not have a mutt file

if:
then: f="/appl/MUTT/defailt"
if :
then: fn="/appl/MUTT/"{@ID;b(1)=EXISTS(fn)
if: b eq "1"
then: f=fn
if:
then: return


You can also set for a receipt request in this mutt file:
my_hdr Return-Receipt-To: richard at appgrp.net

I hope this helps,

Richard D. Williams








Joe Chasan wrote:

>On Thu, Mar 16, 2006 at 04:50:16PM -0600, Chris Rendall wrote:
>  
>
>>    
>>
>>>-----Original Message-----
>>>From: joe at magnatechonline.com [mailto:joe at magnatechonline.com]
>>>Sent: Thursday, March 16, 2006 4:40 PM
>>>To: Chris Rendall
>>>Cc: filepro-list at lists.celestial.com
>>>Subject: Re: Mutt reply address
>>>
>>>On Thu, Mar 16, 2006 at 04:29:48PM -0600, Chris Rendall wrote:
>>>      
>>>
>>>>I'm using mutt to send an email from filePro.  When mutt sends the
>>>>        
>>>>
>>email
>>    
>>
>>>>it has a from: address of the person logged into UNIX.  Is there a
>>>>        
>>>>
>>way
>>    
>>
>>>>to modify the from: field that mutt uses when it sends an email?
>>>>        
>>>>
>>I'd
>>    
>>
>>>>like to use a more generic address for the from: field.
>>>>        
>>>>
>>>you can set system variable REPLYTO=some_generic_name at yoursite.com
>>>
>>>would that do it?
>>>      
>>>
>>That changed the Reply-To: header line to what I set, but the from:
>>address didn't change.
>>    
>>
>
>yes, that is true - i read your message subject and replied before reading
>too deep.  do what mark suggested and put a 
>my_hdr From: somename <some_generic_name at yoursite.com>
>in a .muttrc file
>
>You can specify an alternate .muttrc file via the -F command line flag
>so that you don't have to mess with peoples own $HOME/.muttrc files.
>
>--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ---
>-Joe Chasan-                      Magnatech Business Systems, Inc.
>joe at magnatechonline.com           Hicksville, NY - USA
>http://www.MagnatechOnline.com    Tel.(516) 931-4444/Fax.(516) 931-1264
>_______________________________________________
>Filepro-list mailing list
>Filepro-list at lists.celestial.com
>http://mailman.celestial.com/mailman/listinfo/filepro-list
>
>
>
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.celestial.com/pipermail/filepro-list/attachments/20060318/f88277ba/attachment.html


More information about the Filepro-list mailing list