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

Search Helpnote Topics

 

Using GMail As Your Outgoing Mail Server with VPCart

Using GMail As Your Outgoing Mail Server with VPCart

By default, VPCart Version 7.02.6 and onwards (including the latest VPCart - Version 8.1.0.1), supports using Google Apps as your exernal mail provider out of the box.

To enable Google Apps as your external mail provider, please follow these steps :

1. Login to your VPCart Admin Panel and go to Advanced Settings > Software Configuration

2. Locate the configuration called " xemailsmtpport " and enter 465

3. Locate xemailsmtpusessl and set it to Yes

4. Locate xemailsystem and set to smtp.gmail.com

5. Locate xemailtype and set to CDOSYS

6. Locate xmailusername and xmailpassword and set them in accordance with your GMail Account. 

You will need to enter your full e-mail address to "xmailusername" and password to "xmailpassword". For example :

const xemailusername = [email protected]
const xemailpassword = mypassword 

 


VPCart versions prior to 7.02.6 do not support GMAIL as mail server. However, with a minor modification on "shopmail.asp" file, you can add support for SSL authentication to your VPCart Software (Versions 7.02.05 and below).

Please follow the steps below :

1. Open the file "shopmail.asp" using a text or HTML editor.

2. Please locate the line below. The code should be located around line 310 :

flds.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 10

3. Add the following code :

flds.Item ("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = True

flds.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 465

4. Save and close the file.

5. The next step is to change your mail server (xemailsystem) to smtp.gmail.com. You can modify the value of xemailsystem by going to the administration page, select "Set-Up" and search for xemailsystem. Please modify the value to smtp.gmail.com.

You will also need to use "CDOSYS" as your e-mail interface. Still in the "Set-Up" page, search for "xemailtype" and then select "CDOSYS" from the drop down box.

The final step for all merchants is to enter the login details of your GMAIL account to shop$config.asp. You need to open both versions of the shop$config.asp file. You will find the storefront config file in the CONFIG folder.

The other will be in the your admin folder in the CONFIG folder.

6. Open the file "shop$config.asp" using a text or HTML editor. Remember there are 2 shop$config.asp files - one in config folder and the other in admin/config folder.

7. Please locate the line below :

const xmailusername = "" 'If you are using CDOSYS as your email system it requires a username, enter it here
const xmailpassword = "" 'If you are using CDOSYS as your email system it requires a password, enter it here

8. You will need to enter your full e-mail address to "xmailusername" and password to "xmailpassword". For example :

const xmailusername = "[email protected]" 'If you are using CDOSYS as your email system it requires a username, enter it here
const xmailpassword = "mypassword" 'If you are using CDOSYS as your email system it requires a password, enter it here

9. Save and close the file

 
 

Note :

There is also need to change your Google account security settings :

  1. Login to your Google account
  2. Go to https://www.google.com/settings/security/lesssecureapps 
  3. Enable the "Access for less secure apps" by turnig it "ON".

 

You should now be able to use GMail as your outgoing mail server.


Times Viewed:
5250
Added By:
Frank / Debbie
Date Created:
11/1/2007
Last Updated:
12/21/2018
Back Search other topics Submit a Ticket