From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: <info-gnus-english@gnu.org>
Subject: Re: Sending emails from multiple accounts on same smtp server
Date: Tue, 16 Feb 2016 19:32:20 +0000 [thread overview]
Message-ID: <87lh6kxxh7.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87povwzi08.fsf@gmail.com> (Sivaram Neelakantan's message of "Tue, 16 Feb 2016 22:53:35 +0530")
On Tuesday, 16 Feb 2016 at 22:53, Sivaram Neelakantan wrote:
> 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
I cannot help directly as I don't use emacs for the smtp end, using
msmtp instead. However, I can suggest that the name of the system in
the authinfo file need not be the actual host name. You could have
machine nsivaramgmail login ...
machine shangmail login ...
I do this for retrieving email from two different gmail accounts. For
fetching, it's a case of specifying a name for the server which matches
the name given in the authinfo file:
(nnimap "nsivaramgmail" (nnimap-address "imap.gmail.com") ...)
etc. Whether you can do the same for sending, I am not sure, but it
wouldn't surprise me knowing that everything is possible in gnus ;-)
--
: Eric S Fraga, GnuPG: 0xFFFCF67D
: in Emacs 25.0.91.1 + Ma Gnus v0.16 + evil-git-ff74cfb
: BBDB version 3.1.2 (2015-10-28 10:47:01+00:00)
prev parent reply other threads:[~2016-02-16 19:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-16 17:23 Sivaram Neelakantan
2016-02-16 19:32 ` Eric S Fraga [this message]
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=87lh6kxxh7.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--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).