Using ASP.NET To Send Form Results To An Email

I have 2 part question: I have an html form: https://ws13.ipowerweb.com/eoscorg/pre-op_form.htm I created that has to have SSL on it. The form also includes a confirmation page to the user after the submit button is hit. However, I have been informed because I used Front Page to create the form, the SSL doesn't work with Front Page's form handler. So I want to know if I can use ASP.NET to create the form and without any conflicts with SSL? Also, I want to find out if all the form objects (form fields, text box fields) have to be coded as ASP.NET objects or can I keep the html form objects and just use ASP.NET code to send the form to an email address and to then send the confirmation page to the user? In other words do I have use ASP.NET code for the whole form?

View Replies


ADVERTISEMENT

Email Results And Send To DB (form)

Can I send a form to the DB and email it at the same time? How do I do that?

View Replies View Related

Form Setup To Send The Results To An Email Address

I have a webpage with ASP that is a form. I have the form setup to send the results to an email address (using the Frontpage feature). We have published the page to the web, but it will not send email. It simply does nothing. This is the code:

<form name="Datasheet" method="POST" action="DataSheet.asp" webbot-action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" S-Email-Format="TEXT/PRE"
S-Email-Address="ray.clark@721-file.com" B-Email-Label-Fields="TRUE" S-Builtin-Fields startspan -->

View Replies View Related

Email ASP Form Results

The first page you come to in my Web application is default.asp. This gives
the user the ability to click on a drop down menu and choose a prior date
( to update or add info) or they may simply choose to add a new date and
info. They click on submit and it sends the info to the database and opens
up another page called updateproduction.asp. This page shows the results
from default.asp plus other calculations. I have a button on
updateproduction.asp that says "Send Email". When I click on that I want
the user to be able to send a copy of the updateproduction.asp page to
several email accounts. I currently have tried using CDONTS and can click
on the "Send Email" button to send a test email with html (Simply "You have
sent a successful email" in the body) with success.

If I can't send the asp page, is there a way to save the asp page to an htm
page in the code? This would allow me to send a link out to everyone
instead of the actual page.

View Replies View Related

How To Email ID # With Form Results

I have an asp form. The results of the form both populate a database (thus generating a unique id #) and also get emailed. I now need to send the unique id in the email. How do I do this if the id is being created concurrently with the email? Code:

View Replies View Related

Using CDOSYS To Email Form Results

Can someone please tell me if its possible to create an instance of CDOSYS (to send an emails) on one host and have the email sent from another host.. or are there obvious gaps in my understanding of what takes place when one tries to send an email using CDOSYS or CDONTS?

View Replies View Related

Format Email Form Results

Code:

Mail.Subject = "Website - Account"
strEmailText = strEmailText & "Company Name: " & Request.Form("compname") & vbCrLf
strEmailText = strEmailText & "Company Address: " & Request.Form("compadd") & vbCrLf
strEmailText = strEmailText & "Business Nature: " & Request.Form("businessnature") & vbCrLf

i would just like to know how i can add bold/underline and line breaks in this email because at the moment it just displays the email like this..

this: this thing
this: this thing... etc

View Replies View Related

Send A Form To My Email

Basically I have a page and I would like to have several forms on this page where a user can input thier email address and a short comment, then click on send and i get n email with the details.

I know how to set up a basic form but I have no idea how to send it, can anyone help me and show me what to put where to set this up on brinkster please.

Oh and I would prefer to use ASP if thats possible.

View Replies View Related

Send Email From A Form

i'm a begginer and need some help with editing some code.

I have a simple form which contains an email field. When a user types his email address and submits the form I want to send an email to him. How do I do that?

View Replies View Related

Send Email From Form

I am having a problem writing ASP script to send email from a form. I am setting up a order form online and need to send the information from form to my email address. I copied the script I saw on an article on this site. I have copied my exact code below...what am I doing wrong.

<html>
<body>

<%
Set Mail=Server.CreateObject(“CDONTS.NewMail”)
Mail.To="MY EMAIL ADDRESS”
Mail.From="My email field"
Mail.Subject=”Just testing my script”
Mail.Body=”Hey! I am sending this email through an ASP Page and
guess what? I haven’t learnt much yet, but know that ASP is very
powerful.”

View Replies View Related

Any Simpler Way To Send A Big Form Via Email?

I have a very big form which should be filled up and when submitted should sent as an email exactly in the same format (html). I use CDONTS to send mail. sending mail works fine. In the Mail body I concatenate every line as given below. As the form is very big I find this way to be very troublesome when there is any " (quotes) or whenever my form need to be changed.

I want to know whether is there any simple way to send a big form in the html format to a mail id using cdonts.

View Replies View Related

Form Send To Email Using CDO Syntax

I having a problem with the CDO syntax I guess. Here's the code :

<%
response.buffer = true
message = "The following data was submitted:"
message = message & vbcrlf & vbcrlf

for each item in request.form
message = message & item & ": " & request.form(item) & vbcrlf
next

'Create message object
Dim objMessage

Set objMessage = Server.CreateObject("CDO.Message")

objMessageTo = "billy_fong@hotmail.com"
objMessageFrom = request.form("email")
objMessageSubject = "Message from the website"
objMessageBody = message
objMessageSend

set objMessage = nothing

response.redirect "confirm.asp?msg=" & Server.URLEncode("You have successfully sent your quote, thank you")
%>

The error was on the objMessageSend. What's wrong with that? Actually there was another form file which called to this asp file.

View Replies View Related

Send Web Form Input As Email

I want to send the data from a user's form input in an ASP email. For instance, shen the user submits their name and email address on a form, I would receive an email with those fields mixed in with a plain text message. How can I do this?

I have programmed extensively in other languages, but not ASP (our company is switching from ColdFusion), so I will need my answer in fairly introductory ASP terms.

View Replies View Related

Send Web Form Value To Email Aslo Cc Sender

try to send web form data to one person email (administrator) and also copy the sender, does anybody provide asp prototype?

View Replies View Related

Send Form Data To An Email Address?

What I am trying to do is create a page on my company's internet site so that our customers can fill out a form, click a submit button and then have the data they entered be emailed to me. I have already created the form within Dreamweaver MX. How do I setup the Submit button to automatically email the information to me?

View Replies View Related

Send Html Email With Form Included

I been trying to send a Html email with a form included. I tryed by including <form> and <input> as usual in Html code. What happen is that the email is send and the form are seen but the input button doesnt work right, in hotmail , msn, I mean its not active
Any idea?

View Replies View Related

Send Email Through Web Form, Using External SMTP

I have a CDONTS script which has been sending mail from a client's website form to their address. However, the script has suddenly stopped working after three years of working fine. It doesn't error, they just don't receive the mail any more. I've tried CCing myself in the script and can confirm the mail is not getting through. The script itself is tried and tested and syntaxially correct, and it is hosted on a windows 2000 server which has not been changed or reconfigured at all recently.

I think the problem is because they're using their own exchange server, not the web hosts' mail server. Therefore I would expect that mail sent from the web script wouldn't go through because there is no local mail server to process it.

The problem is that the script hasn't changed, the host say their system hasn't changed, and the client's IT team say their exchange settings haven't changed!?!

I could set up a CDOSYS script to use their Exchange server to deal with the email, but their IT support won't allow relaying, so I don't think this is possible.

Is connecting to their Exchange box the only option, or should the website host still be able to process the web-script-generated mail despite not being their mail provider? I'm getting a lot of grief here, but it can't be the script that has suddenly broken because nobody has touched it!

View Replies View Related

Request All Fields From A Form And Send By Email

i already create a code to request all fields from a previous page form using the next function y separate the fields with the value of each one. Code:

View Replies View Related

Asp Page Wont Send Email If Form Fields Are Blank

I created a feedback form for my website that has only 2 required fields. When you submit the form it calls my asp page which puts the information in a database and then sends me n email with the information that was entered into the form. The problem is that the form only has two required fileds, and if the remaining non required fields are left empty when the asp page is called it does write to the data base, but does not send me any email. However if I go back in and put somethng in every field in the form then when I submit the form and my asp page is called it writes to the data base and sends me an email with the all the information I entered in the feedback form. Is there a way to tell my asp page that it is ok to send the email even if the non required fields are left empty? I really do not want to have to go back through the form and put default values in for each area of the form? Also is there a way to have an error displayed if the email is not sent? My asp code is below....

View Replies View Related

Send Results To Txt File

I am creating a Survey creation site...users add questions, choose their response types, and then the page trundles off to create itself.

Because of the way that I have done, I have given each question an id, and each page an id, put these together, and you get the name of the field on the form in the ASP page. Got it? Code:

View Replies View Related

Get Data From Form, Send To A Html File And Send A Mail

i am trying harder to mix this 2 solutions... but without success... the below on seen to be grabing a template and replace the data with the values posted in a form Code:

View Replies View Related

Cdonts Email Script Won't Send Email

i used the following script but it won't send the email. any suggestions why?

<%
Dim TBdy
Dim MyCDO
CR = Chr(13)
Set MyCDO = Server.CreateObject("CDONTS.NewMail")
MyCDO.From = "person@something.org"
MyCDO.To = "allstar@aol.com"
MyCDO.Subject = "collegebound info"
TBdy = Request.Form("cb_name")
MyCDO.Body = TBdy
MyCDO.Importance = 1 (Normal)
MyCDO.Send
Set MyCDO = nothing

%>

View Replies View Related

Cannot Insert Data And Email Results

I have a form that I created via DW that inserts data into a db. I also have code that I want to use which will email the results of the form. However, I have no idea how to combine the two functions (insert and email) into one page of code. Is there a way to merge the two? Where would I put teh email code? Code:

View Replies View Related

Form Results

I have programmed several online forms(typically using cgi).A client of mine does not like how the results are formated (the long column of text)Is there anything I can do to program the results of this online form to get put into another format that would be e-mailed to the receipient?

View Replies View Related

Form Results

Is there a way to grab all the results from the querystring which are sent via a form submit? In PHP, you can just do something like $var = _GET; which will grab all the fields on the querystring.

View Replies View Related

Web Form Results

I created an html form in which the results will be emailed. Right now the results are able to be emailed in text format. however, i need to somehow parse the information in to html format.

this is so that the person that will be the one receiving the results will be able to process the forms without having to reinput any information into the actual form for filing purposes.

View Replies View Related

Emailing Form Results

I was wondering, is it possible to send the results of a web form through email instead of storing it in a database ?

would it be done it such a way

Code:
<form ACTION="mailto:aymenz@company.com" METHOD="POST" ENCRYPE="text/html">

also can i use both: store in the database and email the results of this webform to 2 reciptients, the buyer and the seller

View Replies View Related

Form Results In Query

How can I get this line to work? I am trying to get the results entered in a form to be part of my query. I am able to get the form results but I get a error stating Syntax error (missing operator) in query expression 'Assignee = Tom Jones'.Below is the line where the error occurs

Session("dbWhere") = "Assignee = " & Request.Form("assignsearch")

View Replies View Related

Emailing Form Results

I have a form with two textfields. When the user hits the submit buttom I want the server to email me the results from the textfieds. Can anyone help me with this?

View Replies View Related

Posting Form Results

I am trying to post the results of one form to another target .asp page - I do not know how to write the code. I have ran through tutorials etc., and my ISS 5 documentation - basically this is what I am coming up with. Please confirm if this is correct code used on the target page - the page that rcieves the form results.

<form action="CSSI-CMS2.asp" method="GET" enctype="multipart/form-data" name="e-design">
<%
Response.Write(objItem & " = " & Request.Form(objItem) & "<br>")
Next
%>
</form>

View Replies View Related

Send Email With Asp

I'm new with asp and server thing so if somoene could help me to resolve my problems
it would be very great.

I'm trying to send myself an email but it doesn't work, no error message, I just don't receive any email.

Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="bob@hotmail.com"
myMail.To="bob@hotmail.com"
myMail.TextBody="This is a message."
myMail.Send

I'm using IIS at my home to test this code.

View Replies View Related

How To Send Email Via ASP.net

Our local educational host doesn't have any COMs on their servers so I need
to use the built-in (if there is one!!) mail/smtp component of ASP.net to
send web form data via email.

Is there such a thing in ASP.net? My apols for the newbie question, but I'm
still an ASP classic developer.

Could somebody post me an example of how to use it.

View Replies View Related

Send Email In ASP

We currently have a form that is in PHP that after the user fill out the form and hit submit, this form send all the information via email to us. I like to know if there is a similar feature or way to do this in ASP.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved