Print Page | Close Window

Email Feature problems

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=11987
Printed Date: 09 April 2026 at 5:04am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Email Feature problems
Posted By: djithm
Subject: Email Feature problems
Date Posted: 29 September 2004 at 1:10pm
I am trying to use the Email notification feature of this Web Wiz forum program but I keep getting the following error:
 
error '80040211'

/nfl_pickem/forum/functions/functions_send_mail.asp, line 136


I have Verio has my web host provider.  They support CDOMail ( http://www.verio.com/support/view_article.cfm?doc_id=3894 - http://www.verio.com/support/view_article.cfm?doc_id=3894 )

Is this the same as CDOSYS?  I know my server is hosted on Windows 2003 server.  

I have tried my IP address and URL of my web site for the SMTP server entry but still get the error above.  When I try using "localhost" I dont get an error, but I dont get an email notification.


When I try CDONTS - I get this error: 

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/nfl_pickem/forum/functions/functions_send_mail.asp, line 153

800401f3

When I try JMail I get this error:
Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/nfl_pickem/forum/functions/functions_send_mail.asp, line 199

800401f3

When I try ASPMail I get this error:
Server object error 'ASP 0178 : 80070005'

Server.CreateObject Access Error

/nfl_pickem/forum/functions/functions_send_mail.asp, line 285

The call to Server.CreateObject failed while checking permissions. Access is denied to this object.

and When I try ASPEmail I get this error:

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/nfl_pickem/forum/functions/functions_send_mail.asp, line 243

800401f3

 

 

PLEASE HELP!  THANKS!




Replies:
Posted By: michael
Date Posted: 29 September 2004 at 1:26pm
try to send an email using their example leaving the forum out of the loop, see if you still have problems.

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: djithm
Date Posted: 29 September 2004 at 2:02pm
I went ahead and tried their "working example" on
( http://www.verio.com/support/view_article.cfm?doc_id=3894 - http://www.verio.com/support/view_article.cfm?doc_id=3894 )
 
and it works for me. 
 
The question now is how do I encorporate that coding into this web wiz forum? 
 
Beginner ASP guy here.
 


Posted By: dpyers
Date Posted: 29 September 2004 at 2:35pm

Server.CreatObject Failed messages indicate that that component is not installed on your server.

80040211 errors usually occur when you're trying to use a remote smtp server that requires authentication - e.g. you have to pass it your email account yd & password details.

Try using a different email address with localhost - you may be getting spam blocked on the other end. Try an email address in your local domain, and try one for someplace else like for your isp - may help isolate a solution. Don't use msn hotmail, yahoo, or aol email addresses to test.



-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: djithm
Date Posted: 29 September 2004 at 3:00pm
Okay, I have it back to CDOSYS since all the other ones seems to not be installed on my host server. 
 
I tried using
 
localhost  as smtp server
mailto:someone@verio.com - someone@verio.com (my web server host is verio)
 
still got:
 
error '80040211'

/nfl_pickem/forum/functions/functions_send_mail.asp, line 136

I tried using
 
mailto:webmaster@danceradio.net - webmaster@danceradio.net (my domain for my web site)
localhost as smtp server
 
again I still get:
 
error '80040211'

/nfl_pickem/forum/functions/functions_send_mail.asp, line 136

I got their "working sample" running, but now I need to figure out how I can incorporate their script onto the Web Wiz Forum email script??

Here is Verio's working sample code:

<!--METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB-00C04FB1625D" NAME="CDO for Windows Library" -->

<!--METADATA TYPE="typelib" UUID="00000205-0000-0010-8000-00AA006D2EA4" NAME="ADODB Type Library" -->
<%
SUB sendmail( fromWho, toWho, Subject, Body )
Dim objCDO
Dim iConf
Dim Flds

Const cdoSendUsingPort = 2

Set objCDO = Server.CreateObject("CDO.Message")
Set iConf = Server.CreateObject("CDO.Configuration")

Set Flds = iConf.Fields
With Flds
             .Item(cdoSendUsingMethod) = cdoSendUsingPort
             .Item(cdoSMTPServer) = "mail-fwd"
             .Item(cdoSMTPServerPort) = 25
             .Item(cdoSMTPconnectiontimeout) = 10
             .Update
End With

Set objCDO.Configuration = iConf

objCDO.From = fromWho
objCDO.To = toWho
objCDO.Subject = Subject
objCDO.TextBody = Body
objCDO.Send

END SUB
fromWho = TRIM( Request.Form( "fromWho") )
toWho = TRIM( Request.Form( "toWho") )
Subject = TRIM( Request.Form( "Subject" ) )
Body = TRIM( Request.Form( "Body") )
If toWho <> "" THEN
sendMail fromWho, toWho, Subject, Body


'Cleanup
Set ObjCDO = Nothing
Set iConf = Nothing
Set Flds = Nothing
Response.redirect "confirmation.html"
' Any existing page can be used for the response redirect method
END IF
%>

<HTML>
<HEAD><TITLE>Email Form</TITLE></HEAD>
<FORM METHOD="POST" ACTION="<%=Request.ServerVariables("SCRIPT_NAME")%>"&g t;
<BR>TO: <INPUT NAME="toWho" TYPE="text" SIZE=40>
<BR>FROM: <INPUT NAME="fromWho" TYPE="text" SIZE=40>
<BR>SUBJECT: <INPUT NAME="Subject" TYPE="text" SIZE=40>
<BR><TEXTAREA NAME="Body" COLS=40 ROWS=5></TEXTAREA>
<BR><INPUT TYPE="SUBMIT" VALUE="Send Mail">
</FORM>
</HTML>



Posted By: dpyers
Date Posted: 29 September 2004 at 5:16pm

CDO=CDOSYS

Looking at their docs, you should be able to specify either CDOSYS or AspMail without any additional authentication info than that already supplied by the forum.

Apparently, you cannot use localhhost at Verio. You have to specify a mailserver - typically it's something like mail.mydomain.com or smtp.mydomain.com. In their example however, they used mail-fwd as a mail server.

Try setting up mail to use cdosys with mail-fwd as the mail server. If that doesn't work, you'll have to contact them to get the name of the remote mail server to use.



-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: WebWiz-Bruce
Date Posted: 30 September 2004 at 4:25am
Web Wiz Forums currently does NOT support using localhost as the SMTP server when using CDOSYS.

Also SMTP server authentication is also not presently supported.

You need to find out the name of a valid SMTP server you can use for your site from your hosts, that also doesn't require authentication.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: djithm
Date Posted: 30 September 2004 at 3:33pm

I called Verio and asked for a valid smtp server.  They told me to use mail-fwd.

I just tried using mail-fwd as the smtp server.  Still getting same error:

error '80040211'

/nfl_pickem/forum/functions/functions_send_mail.asp, line 136

Is there anything else on the Verio's code above that I might also add to the Web Wiz script to make this work?   I appreciate everyones assistance on this!



Posted By: djithm
Date Posted: 30 September 2004 at 3:41pm

***Disregard my last message that I submitted at 12:20pm PT***

Looks like placing mail-fwd  as the SMTP server and placing an email address from my domain worked!!!!

Thanks to everyone for assisting!!




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net