%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% '************************************************************************************** '** Copyright Notice '** Websunami.Com - FORM TO MAIL SCRIPT - (f2m.asp) '** Copyright 2003-2004 Volkan Ozer All Rights Reserved. '** '** This program is free software; you can modify (at your own risk) any part of it '** under the terms of the License that accompanies this software and use it both '** privately and commercially. '** This program is Puplished as is WITHOUT ANY WARRANTY !!!!! '** All copyright notices must remain in tacked in the script '** No official support is available for this program '** Support questions are NOT answered by e-mail '** For non-support related questions you can contact us via info@websunami.com '** http://www.websunami.com '************************************************************************************* Dim MailTo Dim mailcomp Dim smtp Dim From ' variables statrs HERE*********************************** If request ("email") = "" Then 'where email is the name of the filed in the form From = "fake@mydomain.com" 'type a default e-mail here. even a fake one will be ok Else From = Request.Form ("email") 'where email is the name of the field in the form End If ' this will check the Email from the form submitted and assign the From address. ' If Email field is left blank then it assign the fake address. YOu Must Enter an eMail address Above MailTo = "support@4ukshopping.co.uk" ' this is where you want e-mails to go to *** mailcomp = "CDOSYS" ' You must specify a component to use ' CDONTS, CDOSYS, ASPEmail, JMail **** smtp = "auth.smtp.1and1.co.uk" ' If using CDONTS, this is not necessary (supported on Win2K, NT4 but not on WinXP Pro) ' If you are having problems with CDOSYS on a XP Pro, Search and Download CDONTS from the net ' and register the dll using regsvr **** ' for all others you must specify an SMTP server %> <% 'Generates the HTML formatted e-mail Dim html html = "" html = html & "" html = html & "
" html = html & "" html = html & "
|
|||||||||||||||