|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
A quick search on hotscripts (www.hotscripts.com) returned 95 results
http://www.hotscripts.com/ASP/Script...ems/index.html maybe one of these could accomplish what you want. Alternatively it's not all that difficult to write an asp mailer script, maybe a good time to dig into asp? Hope this helps Mike |
|
|||
|
|
|
|||
|
This should work, well at least in theory. I took different aspects of the scripts that I commonly use and put them into this one script.
Code:
'''this routine simply sends the email using cdosys
sub SendEmail(sTo,sFrom,SSubject,sTextBody)
Dim objMail
'Create the mail object
Set objMail = Server.CreateObject("CDO.Message")
'Set key properties
objMail.From = sFrom
objMail.To = sTo
objMail.Subject= sSubject
objMail.TextBody = sTextBody
objmail.HTMLBody = sTextBody
'Send the email
objMail.Send
'Clean-up mail object
Set objMail = Nothing
end sub
dim Customer_Body, Thank_You_Body, Customer_Email
Customer_Email = "Support@CustomerDomain.com"
For i=1 To request.form.count 'build email that is sent to YOUR customer
Customer_Body = Customer_Body & request.form.key(i) & ": " & request.form.item(i) & "
"
Next
'Content for the thank youemail sent to the sender
Thank_You_Body = "Thank you for your interest in our products and services. Your response has been sent and a customer service representative should be contacting you as soon as possible."
'send email to your customer
SendEmail Customer_Email,request.form("email"),"CustomerDomain.com: Contact Request",Customer_Body
'send Thank you email
SendEmail request.form("email"),Customer_Email,"CustomerDomain.com: Thank You",Thank_You_Body
response.redirect("Contact_us.asp?Action=Message Sent")
|
|
|||
|
Hi,
I have used an online form builder from www.mycontactform.com which I've put into asp pages. It has a nice wizard system which you simply cut and paste the html when you're done. It's free to join so might be worth a look. Hope this helps, Chris (see an example of a form in action here: http://www.nmclub.com.au/pages/Accom...mmodation.aspx)
__________________
Sleep better with the hibermate, the world's most comfortable sleep mask! sleep mask |
|
||||
|
There's a well-documented example of an ASP form-mail script at the BrainJar site (this resource is also referenced in my "Programming Resources" sticky).
The usual routine for such a script would be for the visitor details to be collected by the form, emailed to the site owner, and the visitor would either receive confirmation on the same "form" page that an email had been sent, or alternatively, they could be redirected to a separate confirmation page. So there's no need to add an additional email to the visitor. |
|
||||
|
I hear what you're saying Paul, but the customer has requested both confirmtion mail and thank you page.
Basically, as it involves registering as a candidate online, they need an acknowledgement sent so that their candidate a) Has something they can keep to remind them that they have already registered (especially for someone registering to more than one website) and b) a simple system that the email address they've given is a genuine one and not someone faffing about. Thanks for all your advice. There is some pretty good resources given in this thread. atb |
|
|||
|
Okay, so I may be off here because you're in an ASP environment, but I use http://www.form-maker.com/. It is a PHP/MySQL environment, but it's great for for mangement, response emails, and even a confirmation page.
But I think you won't be able to tie this to your current environment. If you can run PHP and MySQL on their site, it's a great program. I currently use it on 4 of our domains. You can see the form in action at www.promarktech.com if you'd like to see how we use it. Mainly for lead generation.
__________________
Web Design, Search Engine Marketing, Search Engine Optimization are our tools. Building business for our customers is our mission, if we are willing to accept it. |
|
||||
|
Hey Debbie,
If you want a thank you page, I can give you the ASP code for that in one line. Yep. One measly, stinkin' line. Code:
Response.Redirect "http://www.your-site.com/thank_you_page.asp" The one thing you need to watch out for, as with ASP in general...make sure you set all objects to nothing BEFORE you process that redirect line. Otherwise, they will take up memory for an unspecified length of time.
__________________
Toronto Web Design | Search Engine Friendly, Standards-Compliant Layouts | Walk on my Path (my blog) |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |