Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: SMTP authentication

From: gjones05:mail:orion at: 17-Apr-2001 11:50

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 [my-email--my-own--dom] "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