I'd like to change a couple of line in this asp file :
<%
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.QMessage = true
Mailer.FromName = Request.Form ("From")
Mailer.FromAddress= Request.Form ("Addres")
Mailer.RemoteHost = "mailserver.com"
Mailer.AddRecipient "property", "in**@myway.com"
Mailer.Subject = "Informations Request"
Mailer.BodyText = Request.Form ("MsgBody")
if Mailer.SendMail then
Response.Write "Your message has been successfully sent. We committ
ourselves to answer to your request within 24 hours , if not , some
problems happened in delivering the message , please contact us again
.. You can now click on the 'back' button of your browser to return
to visit our website ."
else
Response.Write "Mail send failure. Error was " & Mailer.Response
end if
%>
Instead of typing the simple message "Your message has been
successfully sent. We committ ourselves to answer to your request
within 24 hours , if not , some problems happened in delivering the
message , please contact us again . You can now click on the 'back'
button of your browser to return to visit our website ." , I'd like to
redirect the browser to a much nicer "thankyou.htm" page .
What should I change ??!?!?
Thank you ,
Paky 2 1272
"Paky" <pa**@paonessa.net> wrote in message news:a6**************************@posting.google.c om...
<snipped> Instead of typing the simple message "Your message has been successfully sent. We committ ourselves to answer to your request within 24 hours , if not , some problems happened in delivering the message , please contact us again . You can now click on the 'back' button of your browser to return to visit our website ." , I'd like to redirect the browser to a much nicer "thankyou.htm" page . What should I change ??!?!?
Thank you ,
Paky
Hi Paky,
I use:
Response.Redirect "thankyou.asp"
Hope it helps
--
Cheers
Shai Boy
(Remove NOSPAM from email address)
"Shaiboy_UK" <sh********@NOSPAMyahoo.co.uk> wrote in message news:<10****************@despina.uk.clara.net>... "Paky" <pa**@paonessa.net> wrote in message news:a6**************************@posting.google.c om... <snipped> Instead of typing the simple message "Your message has been successfully sent. We committ ourselves to answer to your request within 24 hours , if not , some problems happened in delivering the message , please contact us again . You can now click on the 'back' button of your browser to return to visit our website ." , I'd like to redirect the browser to a much nicer "thankyou.htm" page . What should I change ??!?!?
Thank you ,
Paky
Hi Paky,
I use: Response.Redirect "thankyou.asp"
Hope it helps
Thanks alot , Shaiboy .
Paky This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Marc |
last post by:
Hi all,
I am trying to write an application where I need the ability to open
an Excel spreadsheet and do basic read/write, insert rows, and
hide/unhide rows. Using win32com I have been able to...
|
by: Keyed4U |
last post by:
I have a drop down list system (works to some extent) for a date range search
that I need to do a little more. The following is a small sample from the
script:
function modify_mo_list(mo_model)...
|
by: OZ |
last post by:
Hi,
I am new C++ and need a little help with a public domain program that
is suppose to perform a byte swap. I am receiving the following error
messages during the compile process with Microsoft...
|
by: EkteGjetost |
last post by:
This is definitely not the smart thing to do as far as my learning goes,
but desperate situations call for desperate measures.
The final lab for my introduction to C programming class is due...
|
by: Jintty |
last post by:
Hi,
I'm trying to write a program that will read a txt file, copy it into
another text file and display the number of words, lines and
paragraphs.
I was able to get the copying portion done, but...
| |
by: Galen Somerville |
last post by:
I'm doing something wrong. I made up a test app and put the ZIP file on my
website
http://home.surewest.net/galen/index.html under Downloads.
Basically I have a Panel that will get continuous...
|
by: nephish |
last post by:
Hello there,
i am getting to need to make my web stuff more OO.
i have a project at work that we are porting to the internet, and i
started learning php to do so.
the project is now mamoth is...
|
by: U S Contractors Offering Service A Non-profit |
last post by:
Brilliant technology helping those most in need Inbox
Reply
U S Contractors Offering Service A Non-profit
show details
10:37 pm (1 hour ago)
Brilliant technology helping those most in need ...
|
by: raypjr |
last post by:
Hi everyone. I need a little help with some parts of a word guessing game I'm working on. I have some parts done but unsure about others and could use a little advice. Any help is very much...
|
by: bean330 |
last post by:
Hey, I'm somewhat new to C# and I need a little help, please!
I'm selecting a bunch of records, setting properties on a COM
executable and then calling a method on that executable to run. I...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |