Link to home
Start Free TrialLog in
Avatar of Graeme McGilvray
Graeme McGilvrayFlag for Australia

asked on

Question about ASP Including Files

I am wondering if this is the right option for me...

I want to use this to send emails.

Setup an email template separately and use it when needed

What I want to know is... when including it, does it collect all the information from a Form? So I can populate the included file and use that to send the email?
Avatar of Big Monty
Big Monty
Flag of United States of America image

use what?

if the code in question is code that does Request.Form, then yes, it'll continue to act in that manner, assuming data is being posted to it
Avatar of Graeme McGilvray

ASKER

Hi BigMonty, sounds great, I am almost ready to try, will be be back soon for question (hopefully none!)
SOLUTION
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for that Scott, just looking at your code...

In Functions.asp

Line 18 -       emailTemplate = html

does that suppose to match

Line 33 -       objMessage.HTMLBody = mailBody

??
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial