info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sending emails from multiple accounts on same smtp server


From: Eric S Fraga
Subject: Re: Sending emails from multiple accounts on same smtp server
Date: Tue, 16 Feb 2016 19:32:20 +0000
User-agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.0.91 (gnu/linux)

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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]