From: Sivaram Neelakantan <shanks.n@gmail.com>
To: info-gnus-english@gnu.org
Subject: Sending emails from multiple accounts on same smtp server
Date: Tue, 16 Feb 2016 22:53:35 +0530 [thread overview]
Message-ID: <87povwzi08.fsf@gmail.com> (raw)
I have an authinfo file of the following format
machine smtp.gmail.com login nsivaramxxxt@gmail.com password xxx port 587
machine smtp.gmail.com login shanxxxxx@gmail.com password xxx port 587
Depending on the group I'm in, I'd like it to use one or the other
account. I thought using a setup like
(".*python\\.*"
(visible . t)
(display . all)
(posting-style
(address "nsivaramxxx@gmail.com")
(name "Sivaram Neelakantan")
(body "\n\nsivaram\n-- \n")
(user-mail-address "nsivaramxxx@gmail.com")))
in posting styles would choose the right smtp id to send from authinfo
but it doesn't seem to do that. Sometimes I see one or the other email
FROM header depending on which group I entered first
Any advice on how to make it choose the right smtp account based on
address? and set the appropriate headers?
sivaram
--
next reply other threads:[~2016-02-16 17:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-16 17:23 Sivaram Neelakantan [this message]
2016-02-16 19:32 ` Eric S Fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87povwzi08.fsf@gmail.com \
--to=shanks.n@gmail.com \
--cc=info-gnus-english@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).