Re: Sendmail - Pick Mail Server
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 58139
interpreted = N
texte = >I want WebDNA to use my primary mail server for all mail except one account.>Is it possible to do something like this:>>[If "[fromEmail]"="user@specialdomain.com"]> [then]> use special mail server> [/then]> [else]> use regular mail server> [/else]>[/if]Webdna's mail server is set in the prefs. If you use this approach you'll have to dynamically change the outgoing mail server pref for the exception email messages, then change it back immediately afterwards. I'm not sure this is a good thing to do ...Another possibility is to use writefile instead of sendmail for your "special" email messages, and have it place your email files into a separate folder that a second copy of Emailer picks up and delivers to a separate mail server.There's probably no reason why you couldn't run a bunch of copies of Emailer, each with a different SMTP server value. But you'd have to create a separate prefs file for each one, and each one would have to be located in a different folder, and you would have to use writefile to create the messages for all these extra copies of Emailer.-- Kenneth GromeWebDNA ProgrammerOutsource Service ProviderPhone: +6332 255-6591-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>I want WebDNA to use my primary mail server for all mail except one account.>Is it possible to do something like this:>>[If "[fromEmail]"="user@specialdomain.com"]> [then]> use special mail server> [/then]> [else]> use regular mail server> [/else]>[/if]Webdna's mail server is set in the prefs. If you use this approach you'll have to dynamically change the outgoing mail server pref for the exception email messages, then change it back immediately afterwards. I'm not sure this is a good thing to do ...Another possibility is to use writefile instead of sendmail for your "special" email messages, and have it place your email files into a separate folder that a second copy of Emailer picks up and delivers to a separate mail server.There's probably no reason why you couldn't run a bunch of copies of Emailer, each with a different SMTP server value. But you'd have to create a separate prefs file for each one, and each one would have to be located in a different folder, and you would have to use writefile to create the messages for all these extra copies of Emailer.-- Kenneth GromeWebDNA ProgrammerOutsource Service ProviderPhone: +6332 255-6591-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Kenneth Grome
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Multiple catalog databases and showcart (1997)
mass mailing (1998)
Running _every_ page through WebCat ? (1997)
shipcost (1997)
Strange ThisURL under Linux (2000)
HTML encoding in URLs (1997)
WC2f3 (1997)
REPOST: The old multiple selection bit (2000)
So many lookers, hey smith micro (2003)
WCS Newbie question (1997)
Adding Text (2000)
Secure Server (1997)
shipcost (1997)
What am I missing (1997)
Test (2006)
WebCat 5 Intranet Question (2003)
[WebDNA] Processor Maxing out (2010)
country of origin from IPADDRESS??? (2001)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
webcat serving multiple copies of same db from ram (2000)