* multiple smtp servers depending on recipient
@ 2006-03-10 12:43 Pawel
0 siblings, 0 replies; 2+ messages in thread
From: Pawel @ 2006-03-10 12:43 UTC (permalink / raw)
Hallo
when sending emails I want emacs choose different smtp servers based on recipient address.
I imagine that this action should be hooked to mail-send-hook to make it performed automatically.
email address matching would probably be done based on regular expressions.
the only thing user would have to configure would be:
(setq alist-smtp-servers
'(
(".*@my.company.com" . ( company smtp server details ))
(".*@my.school.com" . ( school smtp server details ))
(".*" . ( general smtp server details ))
))
I am planning to do such thing, but maybe there is a ready to use solution.
If not, what way would You suggest me to go.
I think I have to dive into sendmail.el file, because I expect there will be a lot of methods I need.
Greetings
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: multiple smtp servers depending on recipient
[not found] <mailman.173.1141994586.2832.help-gnu-emacs@gnu.org>
@ 2006-03-10 13:32 ` Gordon Beaton
0 siblings, 0 replies; 2+ messages in thread
From: Gordon Beaton @ 2006-03-10 13:32 UTC (permalink / raw)
On Fri, 10 Mar 2006 13:43:25 +0100, Pawel wrote:
> when sending emails I want emacs choose different smtp servers based
> on recipient address.
Why do you want to do this? Your network/company/internet provider's
SMTP server already does exactly that, except it probably does it
better.
/gordon
--
[ do not email me copies of your followups ]
g o r d o n + n e w s @ b a l d e r 1 3 . s e
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-03-10 13:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-10 12:43 multiple smtp servers depending on recipient Pawel
[not found] <mailman.173.1141994586.2832.help-gnu-emacs@gnu.org>
2006-03-10 13:32 ` Gordon Beaton
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 read-only IMAP folder(s) and NNTP newsgroup(s).