Welcome, Guest ( Customer Panel | Login )




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

Shelley
Starting Member

USA
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 :)

Thanks

devshb
Senior Member

United Kingdom
1904 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:
my_subject=isubject

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:

my_subject="OrderNumber:"&xordernumber&"-"&isubject

(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

Shelley
Starting Member

USA
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
0 Item(s)
$0.00