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 Grome WebDNA Programmer Outsource Service Provider Phone: +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:

    
  1. Re: Sendmail - Pick Mail Server ( Kenneth Grome 2004)
  2. Sendmail - Pick Mail Server ( Clint Davis 2004)
>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 Grome WebDNA Programmer Outsource Service Provider Phone: +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:

Up and running ... at last !! (1997) Color (1997) when is date system date or order date? (1997) WebCat2b15MacPlugin - [protect] (1997) Text variables do not show (1999) Redirect frame targets (1998) WebMerchant Problem (1999) Finding max value for a field (1997) Quit revisited (1997) memory in high traffic servers (2004) WebCat2 - Getting to the browser's username/password data (1997) Supressing Error Messages (1998) WebCat using all my CPU on OS X Server (2001) RE: IIS 4 (1998) Text limits in NT version? (1997) help with autenticate (1998) Sort Order on a page search (1997) Date Sorting (1997) Email problem (1998) hidden databases (2000)