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

Sending mails...

 [1/6] from: robert::muench::robertmuench::de at: 19-Feb-2002 20:58


Hi, I want to send an email from a rebol script and tested it first from the command line. There I get the following error:
>> send [robert--muench--robertmuench--de] "Test"
connecting to: mail.infolayer.com ** User Error: Server error: tcp 250 Bye. ** Where: close smtp-port The strange thing is, that it works. The mail is send correctly. Any idea what this message means? Do I need to handle the server answer in a special way inside the script? Robert

 [2/6] from: greggirwin:mindspring at: 19-Feb-2002 16:38


Hi Robert, << The strange thing is, that it works. The mail is send correctly. Any idea what this message means? Do I need to handle the server answer in a special way inside the script? Robert >> The only problems I had was when a provider required SMTP authentication. There are a couple scripts that solved it for me (esend.r and esmtp.r). If you're on the IOS Developer server now, you can find them in my user folder there, or I can send them to you. --Gregg

 [3/6] from: robert:muench:robertmuench at: 20-Feb-2002 13:22


> -----Original Message----- > From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]On Behalf Of
<<quoted lines omitted: 3>>
> Subject: [REBOL] Re: Sending mails... > The only problems I had was when a provider required SMTP authentication.
Well, the mail is send from the same machine as the mailserver runs on. Relaying for this machine is allowed. But I will try it.
> There are a couple scripts that solved it for me (esend.r and esmtp.r). If > you're on the IOS Developer server now, you can find them in my user folder > there, or I can send them to you.
Can the username/password be provided by the script itself? I need to call it from a CGI script and can't provide this information via the command line ;-)) Robert

 [4/6] from: gscottjones:mchsi at: 20-Feb-2002 10:05


Hi, Robert, From: "Robert M. Muench" ...
> Can the username/password be provided > by the script itself? I need to call it > from a CGI script and can't provide this > information via the command line ;-))
When I hacked these two scripts last year, the person I did it for (Nick) gave me a temporary account on an authenticating server so that I could hack and debug. I no longer have the account, but if I recall my code correctly, the username and password need only be set once. The script checks to see if the values have been set before asking for missing values. If I recall this correctly, then running the following two lines *before* calling esend for the first time should set the values. system/schemes/smtp/user: "username" system/schemes/smtp/pass: "password" Hope that does the trick. --Scott Jones

 [5/6] from: gscottjones:mchsi at: 20-Feb-2002 16:17


From: "G. Scott Jones" ...
> system/schemes/smtp/user: "username" > system/schemes/smtp/pass: "password"
Whoops, typo. Put wrong scheme name. Should be: system/schemes/esmtp/user: "username" system/schemes/esmtp/pass: "password" --Scott Jones

 [6/6] from: robert:muench:robertmuench at: 21-Feb-2002 10:03


> -----Original Message----- > From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]On Behalf Of
<<quoted lines omitted: 3>>
> Subject: [REBOL] Re: Sending mails... > Whoops, typo. Put wrong scheme name. Should be:
Hi, thanks I try it. Robert

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted