View Single Post
  #1 (permalink)  
Old 06-30-03, 01:02 PM
jimthepict jimthepict is offline
Newbie Coder
 
Join Date: Jun 2003
Location: Scotland
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
ASP and JMail....best method

I am a complete newbie to scripting languages, and am trying to learn myself ASP. I have been practising making up forms with conditional regions that will be mailed upon submitting the form.

The main JMail code I have placed in an include, which contains information to check that the posting page is on the same site as the script to prevent spamming. But I have placed the <%set jmail=nothing%> on the same page as the form. Is this acceptable? Will it still close the Jmail function correctly. The script works and sends the mail, I am just not sure if this is good practice.

Also, I have given the jmail include an .asp extension though I have noticed many includes have a .inc extension.....does this matter?

Thank you for taking time to help a newbie and apologise if my questions seem pretty basic.

__________________
Jim Dawson

Last edited by jimthepict; 06-30-03 at 03:22 PM.
Reply With Quote