Print Page | Close Window

i get Error with CDOSYS !!

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=7186
Printed Date: 06 April 2026 at 10:58pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: i get Error with CDOSYS !!
Posted By: Cool_Man
Subject: i get Error with CDOSYS !!
Date Posted: 12 November 2003 at 6:29am

Hi,

i had changed My server host, it was using windows 2000, and my new HOST is (GearHost.net) and they use Windows 2003 Server , and the technology is now CDOSYS not CDONTS.

so i changed Email Component from CDONTS to  CDOSYS,

but when i post any reply in my forum or try to send any wmail from my forum to anyone, i get this error:

CDO.Message.1 error '80040213'

The transport failed to connect to the server.

/forum/functions/functions_send_mail.asp, line 138

this line (138) is:

If NOT strIncomingMailServer = "" Then .Send

So, who's can help me ... plzz ?



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


Thanks for all



Replies:
Posted By: WebWiz-Bruce
Date Posted: 12 November 2003 at 7:52am
The error suggests that you are having problems connecting to the SMTP srever.

Check that you have the correct name of your SMTP server specified in your forums Admin area.

-------------
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: Cool_Man
Date Posted: 12 November 2003 at 10:52am

Thanks -boRg-,

i have just now asked the Suppor gearHost and they told me:

smtp.gearhost.com is CDONTS. You want to use localhost or 127.0.0.1 and have the web server send this email out and smart host it to the correct outgoing mail server.

i can not undersdand what i should do, and what must write in (SMTP Mail Server ) TextBox in forums Admin section

Could you help me please ?



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


Thanks for all


Posted By: God_Struth
Date Posted: 12 November 2003 at 11:05am
Use Cdonts, thats what they are telling you!

-------------
"I'm only trying to help......"


Posted By: Cool_Man
Date Posted: 12 November 2003 at 11:27am

Thanks God_Struth to thrying to help me,

but i don't thing so that they are meaninig that, because when i try to use CDONTS, i still geting this error:

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/forum/functions/functions_send_mail.asp, line 155

800401f3



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


Thanks for all


Posted By: God_Struth
Date Posted: 12 November 2003 at 11:42am
What do you have in the Admin section for the Smtp sever address?

Like Borg said you cannot be connecting to it, if neither components are working then the reference must be wrong.

-------------
"I'm only trying to help......"


Posted By: kmacy
Date Posted: 12 November 2003 at 1:36pm

Try this first:
From the forum admin under email configuration are you:
1) Select CDOSYS as your email component
2) Enter for "Outgoing SMTP Mail Server " - localhost (I think this is what your host is telling you
3) Send an email from WWF (I use the mass email to admins for test)

If that doesn't work try this:
From the forum admin under email configuration are you:
1) Select CDONTS as your email component
2) Enter for "Outgoing SMTP Mail Server " - smtp.gearhost.com
3) Send an email from WWF (I use the mass email to admins for test)

Good Luck

 



-------------
Ken Macy


Posted By: Cool_Man
Date Posted: 12 November 2003 at 5:40pm

Thanks kmacy

i have done it

your first suggest is the coorect one.

and i wiil write here simply code for who's using CDOSYS:

<%
Dim iMsg
Dim iConf
Dim iBp
Dim Flds
Set iMsg = CreateObject("CDO.Message")
Set iConf = CreateObject("CDO.Configuration")
Set Flds = iConf.Fields
Flds("sendusing") = 2
Flds("smtpserver") =  "mail.mydomain.com"
Flds("smtpserverport") = 25
Flds("smtpauthenticate") = 0 ' anoniem
Flds.Update
With iMsg
   Set .Configuration = iConf
   .To = "yourfrienfmail
mailto:Y@hotmail.com - @hotmail.com "
   .From = "
mailto:yourmail@hayoo.com - yourmail@hayoo.com "
   .Sender = "yourfrienfmail
mailto:just_q8@hotmail.com - @hotmail.com "
   .Subject = "Betreft vergaderverzoek"
   .HTMLBody = "<FONT COLOR=RED>NICE TIME</FONT>"
    .Send
End With
%>



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


Thanks for all


Posted By: helpmeplease
Date Posted: 15 December 2003 at 11:48pm

Hello.  I've had problems with this.

I've tried the above solution and used the following smtp settings, but still don't work;

auth.smtp.oneandone.co.uk
localhost
127.0.0.1
smtp.gearhost.com

I also tried with the JMail, ASPMail and ASPEMail (just in case), although I was positive this wouldn't work as I'm using a 2003 Windows Server with oneandone internet.

Can anyone help??



Posted By: helpmeplease
Date Posted: 16 December 2003 at 4:58am

I've just spoken to my ISP (oneandone) and they advised that the e-mail component they use is AspEmail.  They are running Windows 2003 Server, so I'm not sure if I use AspEmail or CDOSYS???

In my e-mail setup I currently have the following;

Email Component to Use: AspEmail
Outgoing SMTP Mail Server: auth.smtp.oneandone.co.uk
Your email address: mailto:andy@woodyweb.me.uk - andy@woodyweb.me.uk *

EMail Notify: On
Send Post with E-mail notification: Off
Email Activation of Membership: On
Built in Email Client: Off

* Does this e-mail need to be with the same ISP that the SMTP entry is on?? (hope that makes sense!)

 



Posted By: Paul Lush
Date Posted: 16 December 2003 at 8:18am

Try this.  I just found a bug in the CDOSYS mail sending functionality. If you happen to have a user name with a , in it, then CDOSYS fails as it uses , to seperate recipents.

In functions\functions_send_mail, lines 120 (approx) should read

    'Who the e-mail is from
    .From = """" & strFromEmailName & """ <" & strFromEmailAddress & ">"    'Who the e-mail is sent to
    .To = """" & strRecipientName & """ <" & strRecipientEmailAddress & ">"

instead of

    'Who the e-mail is from
    .From = strFromEmailName & " <" & strFromEmailAddress & ">"    'Who the e-mail is sent to
    .To = strRecipientName & " <" & strRecipientEmailAddress & ">"



Posted By: helpmeplease
Date Posted: 17 December 2003 at 10:58am

Paul,

Done this last night and updated the mail component to AspMail and it works fine, but the e-mail never receives the user (ie. Me !!)

I would like to know where the mail is going to, but don't know if I need to speak to my ISP or you guys !

Is there a log I can look at for mail activity??



Posted By: Paul Lush
Date Posted: 17 December 2003 at 11:04am

The forums shouldnt email you if you reply to your own topic.

CDOSYS path for logs is C:\WINNT\system32\LogFiles\SMTPSVC1 (or where ever youve installed Windows into).  Ive never used aspMail sorry :(

Try a bulk email of users, it should show you how many went out correctly.  Also, setup the "from" address as your email account so that all bounced mail comes back to you.  I think aspEmail might just dump the files locally and then process them in the back ground.  check the folder you installed it into.  failing that, download and run File Monitor from sysinternals.com and see whats its doing.



Posted By: helpmeplease
Date Posted: 17 December 2003 at 11:45am

Paul,

It was the e-mail activation that doesn't get sent to me as I signed on as a normal user...



Posted By: helpmeplease
Date Posted: 18 December 2003 at 7:10am

Hello.  Me again!

I've just spoken to oneandone internet ( http://www.oneandone.co.uk - http://www.oneandone.co.uk ) and spoke about the SMTP server and they have mentioned that I need to code the following mail server;

MRVNET.KUNDENSERVER.DE

He couldn't help me with regards to where I would code this for this forum, so would someone be able to help??



Posted By: helpmeplease
Date Posted: 18 December 2003 at 7:37am

Hello All.

RESOLVED. YIPPEE. 

All I needed to do was use the following as the SMTP mail server;

mrvnet.kundenserver.de

For other people that may have a problem, I'll leave this on here;

For oneandone users, smtp server needs to be mrvnet.kundenserver.de with the mail component as AspMail.




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