unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* 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

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 --
     [not found] <mailman.173.1141994586.2832.help-gnu-emacs@gnu.org>
2006-03-10 13:32 ` multiple smtp servers depending on recipient Gordon Beaton
2006-03-10 12:43 Pawel

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).