Changing From: Header

2000-05-05 Thread Corey G.


Does anyone know of a way to change the "From:" address when sending an email. I know 
of a way
in Pine but have been unsuccessful with Mutt.  I need this because I send email from a 
Unix box
with an ID that does not exist on our real email production system.  I do not like 
using "Reply-To" because
most people ignore this option and try to send to the "From:" field instead.  I need a 
way to change
this without changing my Unix ID on the box the email originated from.



-- 
Corey Gaffney
Systems Administrator
MyPoints.Com
(847) 969-8150
Ext: 4500




Changing From header

2002-10-13 Thread Brian Bray


I've been looking around for a painless way to modify the From header based on 
which account I am using.

I am sure this has been done as I can't be the only person with way too many 
email accounts.  I am looking for a patch or keybinding that will allow me to 
scroll through a list of email address that I use.  This would be nice if it 
worked just like the t key does when sending mail ie: I could hit F then tab 
to scroll through a list of my email addresses.

Is there a patch that will add this to mutt or is it already there and I am 
just missing it?

-Brian



Re: Changing From: Header

2000-05-05 Thread David T-G

Corey --

...and then Corey G. said...
% 
% Does anyone know of a way to change the "From:" address when sending an email. I 
know of a way

Yep; just use the my_hdr command to write your own.  Check the manual's
section 3.12 for more, but here's how I set mine:

  send-hook .   my_hdr From: [EMAIL PROTECTED] (David T-G)


:-D
-- 
David T-G   * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: Changing From: Header

2000-05-05 Thread Gary Johnson

On Fri, May 05, 2000 at 11:18:23AM -0500, Corey G. wrote:
> Does anyone know of a way to change the "From:" address when sending an email. I 
>know of a way
> in Pine but have been unsuccessful with Mutt.  I need this because I send email from 
>a Unix box
> with an ID that does not exist on our real email production system.  I do not like 
>using "Reply-To" because
> most people ignore this option and try to send to the "From:" field instead.  I need 
>a way to change
> this without changing my Unix ID on the box the email originated from.

Put in your muttrc:

my_hdr From: [EMAIL PROTECTED]

-- 
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | RF Communications Product Generation Unit
 | Spokane, Washington, USA




Re: Changing From: Header

2000-05-05 Thread Fairlight

On Fri, May 05, 2000 at 11:18:23AM -0500, Corey G. thus spoke:
> 
> Does anyone know of a way to change the "From:" address when sending an email. I 
>know of a way
> in Pine but have been unsuccessful with Mutt.  I need this because I send email from 
>a Unix box
> with an ID that does not exist on our real email production system.  I do not like 
>using "Reply-To" because
> most people ignore this option and try to send to the "From:" field instead.  I need 
>a way to change
> this without changing my Unix ID on the box the email originated from.

On the send menu screen hit escape f.

Alternately, set a my_hdr From: [EMAIL PROTECTED]

mark->
-- 
Fairlight->   |||| Fairlight Consulting
  __/\__  ||| "I'm talking for free, |
 <__<>__> |||  It's a New Religion..."   | http://www.fairlite.com
\/||| --Le Bon   | [EMAIL PROTECTED]   
  




Re: Changing From: Header

2000-05-05 Thread ino-waiting

> David T-G (Fri 05.0500-14:13):

> Yep; just use the my_hdr command to write your own.  Check the manual's
> section 3.12 for more, but here's how I set mine:
> 
>   send-hook . my_hdr From: [EMAIL PROTECTED] (David T-G)

you can even leave out the "send-hook".

-- 
[EMAIL PROTECTED]



Re: Changing From: Header

2000-05-06 Thread David T-G

Hi again --

...and then [EMAIL PROTECTED] said...
% > David T-G (Fri 05.0500-14:13):
% 
% > section 3.12 for more, but here's how I set mine:
% > 
% >   send-hook .   my_hdr From: [EMAIL PROTECTED] (David T-G)
% 
% you can even leave out the "send-hook".

Whoops; you're right of course.  I have other send-hook matches which
write From: differently, but he doesn't necessarily have that :-)


% 
% -- 
% [EMAIL PROTECTED]


:-D
-- 
David T-G   * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: Changing From header

2002-10-14 Thread Thorsten Haude

Hi,

* Brian Bray <[EMAIL PROTECTED]> [02-10-14 05:44]:
>I've been looking around for a painless way to modify the From header based on 
>which account I am using.

Mutt doesn't know about your accounts. I do two things:
- I let Mutt set the user based on the receiver:
send-hook '~t [EMAIL PROTECTED]' 'my_hdr From: [EMAIL PROTECTED]'
- I have a set of aliases for this, starting with me-. To enter/change
an address, I enter:
me-
to see a menu of my addresses.


Thorsten
-- 
A: Top posters
Q: What's the most annoying thing about email these days?



Re: Changing From header

2002-10-14 Thread Vincent Lefevre

In article <[EMAIL PROTECTED]>,
   Brian Bray <[EMAIL PROTECTED]> wrote:

> I've been looking around for a painless way to modify the From header based
> on which account I am using.

What do you mean by "account"? Don't you have a .muttrc by account,
in which case a "my_hdr From: ..." is sufficient?

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web:  - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Re: Changing From header

2002-10-14 Thread John Iverson

* On Sun, 13 Oct 2002, Brian Bray wrote:

> I've been looking around for a painless way to modify the From header based on 
> which account I am using.

Maybe you just need to set $alternates and $reverse_name.

-- 
John



Re: Changing From header

2002-10-14 Thread Michael Herman

On Sun, Oct 13, 2002 at 10:44:37PM -0500, Brian Bray wrote:
>
>I've been looking around for a painless way to modify the From header based on 
>which account I am using.
>

Why not just create some macros to change the from: header?  For
example:

macro compose  "Your Name\
<[EMAIL PROTECTED]>\n"

macro compose  "Your Name\
<[EMAIL PROTECTED]>\n"

And so on.

I personally use folder-hooks for this purpose.  I figure if I'm
reading work e-mail, I'll use my work address to reply and if I'm
reading personal mail, my personal address.  I do use procmail to sort
my mail into various folders.

HTH.

-- 
Michael Herman



msg31835/pgp0.pgp
Description: PGP signature


Re: Changing From header

2002-10-15 Thread Brian Bray

list-

Thanks to everyone who sent me replies on this. Here is what I ended up
doing which seems to be working great.

In my .aliases file I have a series of entries like this:
  
  me-work Brian B. <[EMAIL PROTECTED]>
  me-webmaster Brian B. <[EMAIL PROTECTED]>

Then I created a macro in  .muttrc that reads:

macro compose 'F' "me-"

So now when in the compose window if I hit F it brings up a scrollable
list of all of my email addresses and inserts the one I choose into the
From: header.

Once again thanks to everyone that helped out.

-Brian