From: CHENG Gao <chenggao@gmail.com>
To: info-gnus-english@gnu.org
Subject: Re: Multiple smtpmail Accounts
Date: Thu, 08 Nov 2007 01:05:32 +0800 [thread overview]
Message-ID: <m21wb2j89v.fsf@news.cyberhut.org> (raw)
In-Reply-To: <1194445957.392484.29740@o3g2000hsb.googlegroups.com>
*On Wed, 07 Nov 2007 06:32:37 -0800
* Also sprach Volkan YAZICI <volkan.yazici@gmail.com>:
> Hi,
>
> I have different server entries both in my smtpmail-starttls-
> credentials and smtpmail-auth-credentials variables. But when I want to
> send a mail in gnus, smtpmail always prefers to use the server defined
> in smtpmail-smtp-server. In case of I empty this variable, smtpmail
> complains that smtpmail-smtp-server is not configured.
>
> How can I make smtpmail to select between different servers defined in
> smtpmail-starttls-credentials and smtpmail-auth-credentials by looking
> at "From:" header of the about to be sent post?
>
>
> Regards.
Using smtpmail.el seems not an easy solution. I use a lightweight
standalone application named MSMTP (http://msmtp.sf.net) and wrote a
simple function (put in .gnus.el) to choose among 7 email accounts. You
can change your from address at any time before sending. If you are
interested you can read my addtion to EmacsWiki page -
http://www.emacswiki.org/cgi-bin/wiki/GnusMSMTP
My addtion is at the bottom under title "Yet Another Gnus/MSMTP Setting
for Easy Multi-SMTP Sending".
--
Numquam minus solus quam cum solus
prev parent reply other threads:[~2007-11-07 17:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-07 14:32 Volkan YAZICI
2007-11-07 16:30 ` Exal de Jesus Garcia Carrillo
2007-11-08 19:25 ` Volkan YAZICI
2007-11-07 17:05 ` CHENG Gao [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=m21wb2j89v.fsf@news.cyberhut.org \
--to=chenggao@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).