Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - CDOSYS - Cannot get it to work
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CDOSYS - Cannot get it to work

 Post Reply Post Reply
Author
chris.felstead View Drop Down
Newbie
Newbie


Joined: 01 February 2006
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote chris.felstead Quote  Post ReplyReply Direct Link To This Post Topic: CDOSYS - Cannot get it to work
    Posted: 01 February 2006 at 10:43am
Hi All,

I have set my mail server to localhost and the component to CDOSYS. However, when the forum sends email I get:

error '8004020f'
/forums/admin/functions/functions_send_mail.asp, line 137

I have tried adding my administrator level username and password to the script and I still get the error.

Please help.
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: 01 February 2006 at 12:57pm
There shouldn't be anything except a comment on line 137, make sure you are running an unmodified version of the lastest version.
Back to Top
chris.felstead View Drop Down
Newbie
Newbie


Joined: 01 February 2006
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote chris.felstead Quote  Post ReplyReply Direct Link To This Post Posted: 01 February 2006 at 12:59pm
It's unmodified and the latest. Just downloaded it.

I'm running the SQL 2000 version. The error is coming up when I am sending the email through the admin section to test. You know, the send to all users bit.

Chris


Edited by chris.felstead - 01 February 2006 at 1:03pm
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: 01 February 2006 at 1:21pm
The admin section email tool has a few issues with the current version and doesn't work how it should.

Try sending emails from teh main forum.
Back to Top
chris.felstead View Drop Down
Newbie
Newbie


Joined: 01 February 2006
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote chris.felstead Quote  Post ReplyReply Direct Link To This Post Posted: 03 February 2006 at 9:09am
Didn't work but I figured out the problem. The SMTP server was rejecting the connection. I've setup the SMTP to accept connections and relay. All working now. Thanks.
Back to Top
Kann View Drop Down
Newbie
Newbie


Joined: 10 February 2006
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kann Quote  Post ReplyReply Direct Link To This Post Posted: 10 February 2006 at 6:18am
How did you get it to work? I have the same issue.
Back to Top
wmeyers View Drop Down
Newbie
Newbie
Avatar

Joined: 11 February 2006
Location: United States
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote wmeyers Quote  Post ReplyReply Direct Link To This Post Posted: 11 February 2006 at 5:43pm
My host requires "pop before smtp" meaning that outbound smtp messages must have authentication or they will be rejected. This should become the norm since spammers like to use unprotected smtp servers to blast spam to the internet.
 
Since there is no field in the e-mail admin to address this that I could see - I'm a newbie, remember, be kind! I added the following to functions_send_mail.asp:
 
'Your UserID on the SMTP server
     .Fields("http://schemas.microsoft.com/cdo/configuration/sendusername") = "my smtp login"
     'Your password on the SMTP server
     .Fields("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "my smtp password"
     'Type of authentication, NONE, Basic (Base64 encoded), NTLM
     .Fields("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
 
and after this I was able to send e-mails without error. Of course substitute your own smtp login information for the dummy names I put in.
 
Hope this helps.
Back to Top
 Post Reply Post Reply

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.