PRB SMTP error trying to send mail / Using CDOSYS to send email

Article # 5316

The information in this article applies to this particular SalesCart Product(s): 
STD, PRO, SQL


SYMPTOMS
You are using SalesCart on a Windows 2003 Server and would like to use CDOSYS to send email.

CAUSE
This is an informational article on how to use CDOSYS with SalesCart to send email.

RESOLUTION
Instructions for SalesCart STD 3.x, PRO or SQL

1. Download the following zip file:

>> CDOSYS.zip

2. Extract CMail.asp to the cgi-bin folder of your current SalesCart website. Modify 3_sendemail.asp, customer_login.asp, affiliate_login.asp, sendemail.asp, merc-conf.asp, checkpost.asp, emailfriend.asp, and emailregistry.asp, (as well as registerlog.asp if you are using the shipping plugin) located in the cgi-bin folder as follows:

Find the line:
objMail.SetPluginType = "ScCdo"
and replace with:
objMail.SetPluginType = "CDOSYS"

After the line you just edited, add the following lines:
objMail.SetMailServer = "mail.yourdomain.com"
objMail.SetAuthUser = ""
objMail.SetAuthPW = ""

Replace "mail.yourdomain.com" with your mail server. If your mail server does not require authentication, do nothing further. If your mail server does require authentication, set SetAuthUser and SetAuthPW with the authentication username and password respectively.

Instructions for SalesCart STD

1. Download the following zip file:

>> CDOSYSSTD.zip

2. Extract CMail.asp, receipt2.asp, sendemail.asp, and merc-conf.asp to the cgi-bin folder of your current SalesCart website.

3. Modify sendemail.asp and merc-conf.asp as follows:

Find the line:
objMail.SetMailServer = "mail.yourdomain.com"
and replace "mail.yourdomain.com" with your mail server.

SUMMARY
You are using SalesCart on a Windows 2003 Server and would like to use CDOSYS to send email.

STATUS
The ability to send email via CDOSYS will be incorporated into the product in the future.

REFERENCE
KB 5530


Additional Query Words: CDOSYS, Windows Server 2003, ActiveX, 429, SMTP Service

Active/inactive: Active
Author:
 William Cheung
Date:
 8/12/03