[REBOL] Re: Sending email via a different SMTP server.
From: gscottjones::mchsi::com at: 29-Jul-2002 13:17
> I want to send email via a different SMTP server than the default one set
> But I want to leave everything unchanged after the email, so anything I
> must be put back.
> Is there an offical way of doing this?
Several ways to do this. The simpliest maybe to capture the original smtp
server name, reset it to a temporary new one, send the email, then reset the
server name back. Something like:
send [myname--mydomain--dom] "Hello"
The alternative approach is to hack a new copy of send function that will
allow a refinement that allows an alternative smtp host name to be passed to
the function. If you prefer this later approach and my description is less
than clear, I would be happy to present a prototype. (I am short of time
Hope this helps.