Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Email Feature problems
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Email Feature problems

 Post Reply Post Reply Page  12>
Author
djithm View Drop Down
Newbie
Newbie
Avatar

Joined: 29 September 2004
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote djithm Quote  Post ReplyReply Direct Link To This Post Topic: Email Feature problems
    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)

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!

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
djithm View Drop Down
Newbie
Newbie
Avatar

Joined: 29 September 2004
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote djithm Quote  Post ReplyReply Direct Link To This Post Posted: 29 September 2004 at 2:02pm
I went ahead and tried their "working example" on
 
and it works for me. 
 
The question now is how do I encorporate that coding into this web wiz forum? 
 
Beginner ASP guy here.
 
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
djithm View Drop Down
Newbie
Newbie
Avatar

Joined: 29 September 2004
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote djithm Quote  Post ReplyReply Direct Link To This Post 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
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
 
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>

Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
djithm View Drop Down
Newbie
Newbie
Avatar

Joined: 29 September 2004
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote djithm Quote  Post ReplyReply Direct Link To This Post 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!

Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.