Nope - still no good I'm afraid.  I think the problem is not how to pass the
user name and password to the SMTP scheme - I think the problem is the way
the scheme uses them.  Trouble is I cannot understand the code well enough
to work out what's going on!

Thanks for help so far,

Nick.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
GS Jones
Sent: 18 April 2001 00:50
To: [EMAIL PROTECTED]
Subject: [REBOL] Re: SMTP authentication


Nick asked:
Hi, I'm new to Rebol and have a problem with SMTP authentication which my
mail server requires but the Send function does not appear to include.

I've tried a POP read first but it doesn't help.

I've done a fair bit of RFMing but no luck.

The documentation for SMTP doesn't refer to authentication although when I
look  at the SMTP 'Scheme' it does include user: and pass: in its
definition - I cannot understand the code enough to see whether they are
being used.

I'm sure a new SMTP scheme could be written which includes authentication
but its a bit beyond me for now!

 - can anybody help?

Then ... Scott offered lame suggestion that failed miserably.  Now Scott
sez: "Time for some serious hacking!!!"

Try this:

smtp-port: open [scheme: 'smtp]
close smtp-port
smtp-port/user: "authenticating-user-name"
smtp-port/pass: "autenticating-user-password"

Of course, use the correct authenticating info in place of my place holders.
Then try sending yourself some email through 'send in the "usual" way:

send [EMAIL PROTECTED] "Hello, Nick"

My theory on this one is that the first port opening sets up the word (which
is smtp-port) that holds the information used for sending email.  You
manually open and close to get this word setup.  Then manually insert the
user name and password for authentication and see what happens next time
that 'send is used.

Worth a try until someone who knows what they're doing answers your question
(hint, hint).

Good luck, again.
--Scott Jones



--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.


-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to