Can I Use CDOSYS Email Component with Online Contest Manager?
Posted by DMXReady-MH on 30 October 2013 10:47 PM

Q. Can I Use CDOSYS Email Component with Online Contest Manager?

A. Yes, you can use CDOSYS with Online Contest Manager by following these steps:

  1. Open the file "applications/OnlineContestManager/library/entity/registration/messaging/inc_send_email_confirmation.asp" and go to line 121
  2. Change the smtp server name from "" to YOUR smtp server name (If you don't know your SMTP server name, contact your webhost):
    • Change from: objCDOSYSCon.Fields("") = ""
    • Change to: objCDOSYSCon.Fields("") = "YOUR smtp server name"
  3. Save the file and upload it to your web server.

*If you don't know your SMTP server name or have questions regarding CDOSYS, contact your webhost

If your server requires SMTP authentication, then you will need to do the following steps as well:

  1. Open "applications/OnlineContestManager/library/entity/registration/messaging/inc_send_email_confirmation.asp" go to line 123
  2. Locate the following line:
    objCDOSYSCon.Fields("") = 25
  3. Below that line, add the following codes:
    objCDOSYSCon.Fields("") = "myusername"
    objCDOSYSCon.Fields("") = "mypassword"

    * myusername = email server username from your webhosting provider
    * mypassword = email server password from your webhosting provider
    * Do not erase code: objCDOSYSCon.Fields.Update
  4. Save and upload it to your server



Special Note:
If you use 1and1 hosting service, you will also need to do the following steps:

Locate the following line in inc_send_email_confirmation.asp
Set objMailUser = Server.CreateObject("CDO.Message")
Set objCDOSYSCon = Server.CreateObject ("CDO.Configuration")
Set Flds = objCDOSYSCon.Fields

Below that, copy and paste this code:

objCDOSYSCon.Fields("") = 2
objCDOSYSCon.Fields("") = "YOUR smtp Server Name"
objCDOSYSCon.Fields("") = 60
objCDOSYSCon.Fields("") = 25
objCDOSYSCon.Fields("") = "myusername"
objCDOSYSCon.Fields("") = "mypassword"

set objMailUser.Configuration = objCDOSYSCon


(307 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Help Desk Software by Kayako