Click to See Complete Forum and Search --> : #include virtual or file HELP
jemerson
01-21-2003, 08:24 AM
Please help me!
I have a "refer a friend" script that needs to be looked at. After clicking the "submit" button, to go to the friends email, I need a file to also be sent to the friends email. I have tried & tried but to no avail.
Can someone look & see if I have done it right?
http://www.partytimeprinting.com/customers/refer_friend.asp
It goes to the "confirmation or thank you" page, but nothing gets sent to email.
Be easy on me, I am female & I am using MS Frontpage 2002 - UGH! I know, two strikes already.[URL=http://www.partytimeprinting.com/customers/refer_friend.asp]
web_chick04
01-21-2003, 06:19 PM
Hi!
I am new to the web developer field and was wondering if anyone had any tips or info that they would share with me.
thanks:(
vishu_gupt
01-21-2003, 10:57 PM
Originally posted by jemerson
Please help me!
I have a "refer a friend" script that needs to be looked at. After clicking the "submit" button, to go to the friends email, I need a file to also be sent to the friends email. I have tried & tried but to no avail.
What do you want? Do you want to send a file as attachment in email to friend or you want to send a file as inline text in email? If you want to send a file as attachment then there is no need to include the file using "INCLUDE" tag in ASP page. You can specify the file name with proper physical path in the Attachment part of the email code.
If you want to send a file as inline text then you have to include the file using<!--#INCLUDE FILE="relative path of the file"--> tag and make sure that the text is assigned to a variable so that that value can be assigned to the mailbody part of the email code.
Mail me if not clear about how to do it with the ASP code.
Bye
jemerson
01-22-2003, 02:09 AM
If I type the #include file or virtual, the file shows underneath the form. I need the form to be emailed to them, along with their "comments" they typed...........how do I do this?
vishu_gupt
01-22-2003, 04:44 AM
Originally posted by jemerson
If I type the #include file or virtual, the file shows underneath the form. I need the form to be emailed to them, along with their "comments" they typed...........how do I do this?
Give me the code snippet and tell me do you want to send the file form as attachment or as inline text. YOu can mail be the code at my email
vishu_gupt@usa.net
I will look into this.