← Back to team overview

vm team mailing list archive

[Bug 503866] [NEW] Intelligent From addresses

 

Public bug reported:

Blueman (vm.info, 2010-01-05)

I often find that I want to use different 'From:' addresses when 
replying or composing new messages to different users -- examples 
include work vs. home and using different email addresses to help track 
spam from commercial sites. 
While pcrisis might do some or all of this, I always found it 
complicated to understand and overkill. 
My routines advise the vm-mail-send command to intelligently suggest and 
query for the best-fit 'From' address as follows: 
1. First, if the message is a reply or follow-up to an existing message, 
   then use the final "Delivered-to" field (which is the best-guess of 
   whom it was originally addressed to) as the suggested 'From' 
   (Note the Delivered-to field may not be present on internal mail) 
2. Second, if no Delivered-to field, then use the combined To/Cc/Bcc 
   fields in the message you just composed to match against an alist 
   'vm-user-mail-address-alist' that matches regexps with preferred From 
   addresses. 
3. Third, if still no match then use the variable 'user-mail-address' 
4. Finally, unless a prefix argument is given, suggest the above best 
   match (or default) and allow the user to either accept or edit it 
   along with a list of potential completions created from the 
   merged options combining Delivered-to addresses and the cdr's of the 
   vm-user-mail-address-alist entries. 
The program requires an addition to vm-reply-hook to record the 
Delivered-to addresses and advice around vm-mail-send to trigger the 
match/query. 

... code snippets in the newsgroup

** Affects: vm
     Importance: Wishlist
         Status: Triaged

** Changed in: vm
       Status: New => Triaged

** Changed in: vm
   Importance: Undecided => Wishlist

-- 
Intelligent From addresses
https://bugs.launchpad.net/bugs/503866
You received this bug notification because you are a member of VM
development team, which is the registrant for VM.

Status in VM (View Mail) for Emacs: Triaged

Bug description:
Blueman (vm.info, 2010-01-05)

I often find that I want to use different 'From:' addresses when 
replying or composing new messages to different users -- examples 
include work vs. home and using different email addresses to help track 
spam from commercial sites. 
While pcrisis might do some or all of this, I always found it 
complicated to understand and overkill. 
My routines advise the vm-mail-send command to intelligently suggest and 
query for the best-fit 'From' address as follows: 
1. First, if the message is a reply or follow-up to an existing message, 
   then use the final "Delivered-to" field (which is the best-guess of 
   whom it was originally addressed to) as the suggested 'From' 
   (Note the Delivered-to field may not be present on internal mail) 
2. Second, if no Delivered-to field, then use the combined To/Cc/Bcc 
   fields in the message you just composed to match against an alist 
   'vm-user-mail-address-alist' that matches regexps with preferred From 
   addresses. 
3. Third, if still no match then use the variable 'user-mail-address' 
4. Finally, unless a prefix argument is given, suggest the above best 
   match (or default) and allow the user to either accept or edit it 
   along with a list of potential completions created from the 
   merged options combining Delivered-to addresses and the cdr's of the 
   vm-user-mail-address-alist entries. 
The program requires an addition to vm-reply-hook to record the 
Delivered-to addresses and advice around vm-mail-send to trigger the 
match/query. 

... code snippets in the newsgroup





Follow ups

References