[REBOL] Re: CGI Problem
From: tim:johnsons-web at: 20-Jul-2001 16:17
Hi Ryan:
> Hi all,
> I was writing up a form and used REBOL to do the CGI.
> The form will simply collect the data and send the data
>in an email to the site admin. I have a problem when the execution
>gets to sending the email. I get a Rebol error that says:
>** User Error: No network server for smtp is specified.
>** Where: smtp-port: open [scheme: 'smtp] if email? "
>This isn't live on the web yet, I'm still testing it using Apache on my machine.
>Has anyone else ran into this issue, or know how it can be fixed?
1)Do you have user.r set up with complete server names via 'set-net ?
If so, check to make sure you don't have a misconfigured copy of user.r
in the same directory as your script
HINT: you can run set-net directly from your script.
Also:
2)You should also have your code set up to test the server.
such a test would then result in chosing a different SMTP server
depending on what machine you run it from.
Again, you could use a call to set-net from your script to do this
I hope this helps somewhat...
tj