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

Email setup question

 [1/7] from: sharriff:aina:med-iq at: 12-Oct-2000 15:37


Can someone tell me why I get this error when trying to send mail through a CGI form? Sending Email to [sharriff--aina--med-iq--de] ** User Error: No network server for smtp is specified. ** Where: smtp-port: open [scheme: 'smtp] if email? email works from rebol directly though. I deleted the "User.r" to force a new setup, no go. Could it be that it fails because I typed in an IP address instead of a resolved SMTP name? Best regards Sharriff Aina med.iq information & quality in healthcare AG

 [2/7] from: norsepower:uswest at: 12-Oct-2000 9:51


It depends. If you are using a Web hosting service for your CGI setup, they may have disabled SMTP. Many Web hosting services disable SMTP and instead want you to use perl sendmail.

 [3/7] from: sharriff:aina:med-iq at: 12-Oct-2000 16:17


Thats strange, using outlook express, or Lotus notes, I always put in the IP address, and it works, strange enough is that it works fine from REBOL, but not from a CGI form, is there a work -around? Sharriff Aina med.iq information & quality in healthcare AG Gutenbergstr. 42 41564 Kaarst tel.: 02131-3669-0 fax: 02131-3669-599 www.med-iq.de

 [4/7] from: robertva:privacyx at: 12-Oct-2000 17:22


This is a multi-part message in MIME format. ------=_NextPart_000_0060_01C03471.0D3ACCC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable If you don't have 'REBOL Extended Definitions' loaded do following do %rebol.r when functions are loaded do:
>>set-user
and answer questions asked Robert ----- Original Message ----- To: [list--rebol--com] Cc: From: [Sharriff--Aina--med-iq--de] Sent: Thursday, October 12, 2000 4:37 PM Subject: [REBOL] Email setup question Can someone tell me why I get this error when trying to send mail through a CGI form? Sending Email to [sharriff--aina--med-iq--de] ** User Error: No network server for smtp is specified. ** Where: smtp-port: open [scheme: 'smtp] if email? email works from rebol directly though. I deleted the "User.r" to force a new setup, no go. Could it be that it fails because I typed in an IP address instead of a resolved SMTP name? Best regards Sharriff Aina med.iq information & quality in healthcare AG ------------------------------------------------------------------------------ Link is external to the Privacyx.com System ------=_NextPart_000_0060_01C03471.0D3ACCC0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 5.50.4134.600" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>If you don't have 'REBOL Extended Definitions' loaded do following</FONT></DIV> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV> <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; do %rebol.r</FONT></DIV> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV> <DIV><FONT face=Arial size=2>when functions are loaded do:</FONT></DIV> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV> <DIV><FONT face=Arial size=2>>>set-user</FONT></DIV> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV> <DIV><FONT face=Arial size=2>and answer questions asked</FONT></DIV> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV> <DIV><FONT face=Arial size=2>Robert</FONT></DIV> <BLOCKQUOTE dir=ltr style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV> <DIV style="FONT: 10pt arial"><B>To:</B> <A title=[list--rebol--com] href="mailto:[list--rebol--com]">[list--rebol--com]</A> </DIV> <DIV style="FONT: 10pt arial"><B>Cc:</B> <A title="From: [Sharriff--Aina--med-iq--de]" href="mailto:[Sharriff--Aina--med-iq--de]">From: [Sharriff--Aina--med-iq--de]</A> </DIV> <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, October 12, 2000 4:37 PM</DIV> <DIV style="FONT: 10pt arial"><B>Subject:</B> [REBOL] Email setup question</DIV> <DIV><BR></DIV><BR>Can someone tell me why I get this error when trying to send mail through a<BR>CGI form?<BR><BR>Sending Email to <A href="mailto:[sharriff--aina--med-iq--de]">[sharriff--aina--med-iq--de]</A> ** User Error: No network server<BR>for smtp is specified. ** Where: smtp-port: open [scheme: 'smtp] if email?<BR><BR>email works from rebol directly though. I deleted the "User.r" to force a<BR>new setup, no go. Could it be that it fails because I typed in an IP<BR>address instead of a resolved SMTP name?<BR><BR><BR>Best regards<BR><BR><BR><BR><BR>Sharriff Aina<BR>med.iq information &amp; quality in healthcare AG<BR> <P> <HR> <P></P> <CENTER> <P><BR> <P><BR> <P><A href="http://www.privacyx.com/newads/click.php3?bannerID=2"><IMG height=60 alt="Visit Winner Online Today" src="http://www.privacyx.com/newads/viewbanner.php3?bannerID=2" width=468 border=0></A><BR><I><FONT size=-2>Link is external to the Privacyx.com System</FONT></I></CENTER></BLOCKQUOTE></P></BODY></HTML> ------=_NextPart_000_0060_01C03471.0D3ACCC0--

 [5/7] from: christmn::clackamas::ds::adp::com at: 12-Oct-2000 8:45


Depending on where you have REBOL installed and where your cgi resides, the cgi may not be able to read user.r to know where SMTP server is. If the webserver has the REBOL_HOME variable defined in it, then you can can have a user.r in the REBOL_HOME directory. Otherwise you need a user.r file with the network definitions defined in it, resident in the same directory as your cgi scripts for REBOL to read user.r and get its network definitions. If all of this is already done, then I would look at the webserver, possibly check with your Admin group to see if SMTP is turned off by default under cgi or try a simple PERL script to try and send mail to see if it works under other scripting languages. You can also try to force defining the smtp host in the REBOL cgi script with - system/schemes/default/host: "your_smtp_host.your_domain.com" ----- Original Message ----- From: [Sharriff--Aina--med-iq--de] To: [list--rebol--com] Sent: Thursday, October 12, 2000 7:37 AM Subject: [REBOL] Email setup question Can someone tell me why I get this error when trying to send mail through a CGI form? Sending Email to [sharriff--aina--med-iq--de] ** User Error: No network server for smtp is specified. ** Where: smtp-port: open [scheme: 'smtp] if email? email works from rebol directly though. I deleted the "User.r" to force a new setup, no go. Could it be that it fails because I typed in an IP address instead of a resolved SMTP name? Best regards Sharriff Aina med.iq information & quality in healthcare AG

 [6/7] from: sharriff:aina:med-iq at: 12-Oct-2000 16:48


:-( doesīnt help at all Robert, it overwrote my user.r file, I sent immediately an email away from REBOL--> success, the CGI script fails with the same error. We are using a Domino server, and itīs name is not something like"smtp.med-iq.de", thats why I had to put in an IP address. Could it be that REBOL trys too match email and server names in its validation? Best regards Sharriff Aina med.iq information & quality in healthcare AG Gutenbergstr. 42 www.med-iq.de

 [7/7] from: sharriff:aina:med-iq at: 12-Oct-2000 17:13


YESSS!!! it works now, thank you very very much "[christmn--clackamas]" forcing a scheme by writing it in the script worked, thank you very much Robert , " Norsepower" Best regards Sharriff Aina med.iq information & quality in healthcare AG Gutenbergstr. 42 [christmn--clackamas]. ds.adp.com An: [list--rebol--com] Kopie: 12.10.00 16:45 Thema: [REBOL] Email setup question Re: Bitte antworten an list Depending on where you have REBOL installed and where your cgi resides, the cgi may not be able to read user.r to know where SMTP server is. If the webserver has the REBOL_HOME variable defined in it, then you can can have a user.r in the REBOL_HOME directory. Otherwise you need a user.r file with the network definitions defined in it, resident in the same directory as your cgi scripts for REBOL to read user.r and get its network definitions. If all of this is already done, then I would look at the webserver, possibly check with your Admin group to see if SMTP is turned off by default under cgi or try a simple PERL script to try and send mail to see if it works under other scripting languages. You can also try to force defining the smtp host in the REBOL cgi script with - system/schemes/default/host: "your_smtp_host.your_domain.com" ----- Original Message ----- From: [Sharriff--Aina--med-iq--de] To: [list--rebol--com] Sent: Thursday, October 12, 2000 7:37 AM Subject: [REBOL] Email setup question Can someone tell me why I get this error when trying to send mail through a CGI form? Sending Email to [sharriff--aina--med-iq--de] ** User Error: No network server for smtp is specified. ** Where: smtp-port: open [scheme: 'smtp] if email? email works from rebol directly though. I deleted the "User.r" to force a new setup, no go. Could it be that it fails because I typed in an IP address instead of a resolved SMTP name? Best regards Sharriff Aina med.iq information & quality in healthcare AG