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

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 modify contact us form
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

4 Posts

Posted - April 20 2004 :  14:43:58  Show Profile  Reply with Quote
I am running an email spam filter and would like to ensure that
emails sent via the contact us form are not collected by the filter.
I need to know how to modify the form so that I can set the subject
of the emails and take the subject field out of the form.

If anyone knows how to do this, please let me know. I don't need
a complete 'walk through' but some details would help :)


Senior Member

United Kingdom
1898 Posts

Posted - April 21 2004 :  03:33:59  Show Profile  Visit devshb's Homepage  Reply with Quote
i could be wrong here, but it looks like.....

change shopcustcontact.asp, in the SendMailToMerchant function:

the line:

just set that to whatever format you want the subject line to take (eg prefix it with a "safe-from-spam" bit of text that your spam filter might be able to check, for example:


(where xordernumber is your vpasp order number config value which nobody else will know)

this logic means that reardless of what the subject line is entered as, the emailing will always prefix the contact-us email subjects with that extra text.

Simon Barnaby
Freelance Developer
Java-E UK
[email protected]

Edited by - devshb on April 21 2004 03:34:56
Go to Top of Page

Starting Member

4 Posts

Posted - April 22 2004 :  19:23:27  Show Profile  Reply with Quote
Thanks! I changed the line to
my_subject="Customer Contact" & "-" & isubject
and set Customer Contact as a message subject never to be blocked and it works! I get the emails twice though, but I can live with that. Thanks again! I thought of doing something like that, but then decided it couldn't possibly be that simple :)

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000