VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497
Live Chat

Email Problems

    

CDONTS isn't installed in XP

This page is for anyone who is hosting their website on their own XP IIS server and would like to use CDONTS to handle their E-Mail.
You may have now realised that Windows XP Pro doesn't have CDONTS installed.

Simply follow these simple steps to install CDONTS on WinXP Pro.

1. First of all you will need to download this zip. Cdonts.zip
2. Extract it to your C:\WINDOWS\system32 folder.
3. Then goto 'Run' in the start menu.
4. Type this in the 'Run' box: regsvr32 cdonts.dll
5. Restart your computer and CDONTS should work for you .

    

Configuring your Email system

E-mail needs to be configured by specifying a few settings in the VP-ASP configuration. You can do this by entering the VPASP merchant administration and finding these settings under the Configuration >> Merchant Details category.

The information that needs to be configured is:


xemail=you@abc.com
The merchant e-mail address 

xemailname=Merchant name
The name of your store, this will be displayed in the 'From' part of the sent email.

xemailsubject=Shopping Cart Order
Subject of confirmation e-mail, this is the text that will be displayed in the subject line of the email

xemailsystem=mail.yoursystem.com
Your web host's e-mail system.There is no standard naming for your e-mail system.  It could be smtp.abc.com.
The easiest way to find this information is to check with your NT/Windows administrator or web hosting company.

xemailtype=CDONTS
This is the type of email object used by your server.  If you are unsure then contact your web hosting company to obtain this information.
Standard VPASP mailing interfaces include; CDONTS, ASPMAIL, ASPEMAIL, JMAIL, OCXMAIL, CDOSYS

Other ASP Interfaces
Other e-mail interfaces that are compatible with Active Server Page programs may be integrated into VP-ASP. They must be able to be called from an Active Server Page program. Normally this means that are implemented with a DLL and have a COM interface. VP-ASP cannot run EXE files.

If you want us to help integrate another interface besides these, then provide us with a working sample of Active Server Page code that works with your e-mail program.    

Checking your Email system

VPASP comes with a tool that tests whether your email is working correctly. To test your email please follow these steps:

1 - The email testing tool is called "diag_dbtest.asp" and is located in the default VPASP directory. Make sure this file is stored on your web server.

2 - Run the tool by entering the filename into your browser window, for example:
http://www.yoursite.com/shop/diag_dbtest.asp

3 - The e-mail configuration values are automatically entered from the site configuration. Verify that these details are correct and press "Test Mail"

4 - The result of this test will be displayed.

If the test fails please read this article on configuring email
Configuring your Email System

    

Email Problems

The most common problem with e-mails is that you do not receive them. Here are some possible causes. There is no way we can tell where the message goes after it is handed to the interface. We cannot tell if it ever leaves your system or not . Please run our diagnostic tool diag_dbtest.asp. If it says OK, then it means that VP-ASP has handed the mail to the interface. You now need to ask your ISP why it is not going to the Internet.

The two most common problems are:

  1. You have the wrong xemailsystem in VP-ASP Shop Configuration. There is no standard name. Only your web hosting company can tell you your e-mail system name. You are using the wrong Interface.
  2. You may have selected CDONTS for example when CDONTS is not supported by your web hosting company. You need to ask them which of the interfaces they support.

Troubleshooting Email Issues

By default VP-ASP masks emailing issues so that the rest of your cart can continue to function correctly. Unfortunately this makes troubleshooting emailing issues slightly more difficult.

If you are not receiving email, first turn off the error masking to determine whether a system error is being generated. To do this you need to:

  1. Open shopmail.asp in a text editor
  2. Locate the lines:
    on error resume next
    If getconfig("xdebug")="Yes" then
    Debugwrite "to=" & my_to & "(" & my_toaddress &") from=" & my_from &"("& my_fromaddress &")"
    debugwrite "attachments=" & orderattachmentcount
    debugwrite body
    end if
  3. Change these to read:
    'on error resume next
    'If getconfig("xdebug")="Yes" then
    Debugwrite "to=" & my_to & "(" & my_toaddress &") from=" & my_from &"("& my_fromaddress &")"
    debugwrite "attachments=" & orderattachmentcount
    debugwrite body
    'end if
  4. Re-upload shopmail.asp to your web server.
  5. Try testing if your mail works now by placing an order on your site
  6. At the bottom of the shopthanks.asp page you may now see an error message, along with the content that should exist in your end of order emails
  7. Try searching on Google for the error number. You should be able to find the cause of the issue from this error number
  8. If the error number refers to an authentication issue, try entering your email username and password details into shop$config.asp (for 6.50 on). For earlier versions, contact support via the helpdesk to try resolving this issue.
  9. Once you have resolved your email issue, you will need to restore your shopmail.asp file back to its original state by removing the single quotes you entered in in step 2.
 
Back Printable Version Search other topics Submit a Ticket