custom "from:" field

29 views
Skip to first unread message

jnruby

unread,
Mar 17, 2012, 12:28:09 AM3/17/12
to vmail-users
Dear vmail-users,

Is there a way to create a custom "from:" field that is different than
my "username" account? For example, I would like to send email from
my gmail account, but have it look like it is coming from a different
account (as I do in web-based gmail).

I tried adding a "from: us...@generic.edu" to my .vmailrc, but it
doesn't change the "from" field when I compose or reply.

Any advice would be appreciated. This is the one thing that is
keeping me from switching over completely!

jnruby

Jed Verity

unread,
Oct 18, 2012, 9:07:56 PM10/18/12
to vmail...@googlegroups.com
I've accomplished this with simple keymapping in my .vimrc. For example:

imap <leader>fy <C-c>:%s/<m...@gmail.com>/<m...@yahoo.com><CR>:2<CR>A

This searches for <m...@gmail.com>, replaces it with <m...@yahoo.com>, and then goes to the end of the 2nd line (the end of the "to: " line).
Reply all
Reply to author
Forward
0 new messages