[REBOL] Re: Sending e-mail using non-default server
From: tim:johnsons-web at: 18-Nov-2001 14:02
On Mon, Nov 19, 2001 at 09:47:42AM +1100, Greg Schwarz wrote:
> Jon,
> One big problem you will have, many ISP's will not let you relay mail via
> different smtp server. This is to stop spam mailers. Most ISP's you dial
> into will only allow you to use their smtp server.
> Regards,
> Greg
Hi Jon/Greg
That is almost universally the case. Thus the use of set-net at
run time.
One can also read the dns of the machine or use system/options/cgi/server-name
to enable the calling script to "know" what machine it may be on,
so as to chose the correct SMTP server.
tj
> ----- Original Message -----
> From: "Jon Saltzman" <[jon_saltzman--pitzer--edu]>
> To: <[rebol-list--rebol--com]>
> Sent: Sunday, November 18, 2001 7:27 PM
> Subject: [REBOL] Sending e-mail using non-default server
>
> >
> > I know Rebol has already ascertained my email from initial setup, but if I
> wanted to send an email from a different account, such as
> smtp.anyplaceonthenet.com, using any user and any password, how would I do
> so?
> >
> > In other words - I know how to read
> >
> > mailbox: open pop://user:[pass--mail--mailserver--com]
> >
> > Is there any code that does this? ->
> > Open mailbox connection
> > Send using this mailbox
> > Close mailbox
> >
> > -Jon
> >
> > --
> > To unsubscribe from this list, please send an email to
> > [rebol-request--rebol--com] with "unsubscribe" in the
> > subject, without the quotes.
> >
> >
> >
>
> --
> To unsubscribe from this list, please send an email to
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
--
Tim Johnson <[tim--johnsons-web--com]>
http://www.johnsons-web.com