Form Processing Script: Results In HTML Mail Format?
I have purchased a form processing script, which basically saves the data into a database, emails certain people's email addresses with the form results, and also sends an email to the user that filled in the form with a thank you email.
However, all the emails are being sent in plain text format. I would like to change this to HTML so I can make the results look nicer and also make the thank you email look nicer.
I have emailed the script developers, but have yet had a response from them, so i thought id put a post on here!
I have found the part of the coding that sends the Thank You email out to the user once they have filled in the form:
'/// Send Autoresponse
if replyto<>"" and (autoresponse<>"" or sendcopy<>"") then
if sendcopy<>"" then autoresponse=autoresponse & vbcrlf & vbcrlf & message
call sendmail(replyto,mailadmin,formname,autoresponse)
end if
end if .......
I have created a form in HTML with no problems, but I can't find any tutorials on how to (or whether I even can) have the results of what the user inputted into the form directly to me. I would also like to be able to have the results stored in an Excel Spreadsheet as well. I've found tutorials on how to send to addresses inputted into the form, kind of like a 'Thanks for Participating' sort of thing and I've tried to modify it to get it to work for sending me messages, but I just can't get it to work.
I created a web form in html, I need to create a server-side script using ASP and embed it into the html, so that when the user clicks submit, it sends(saves) the data from text boxes, drop-downs etc, to a text(.txt) file on the server. It needs to be in csv format so that they can create an excel file from it.
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:
I want to have a vote on a intranet site, a drop down list of peoples names and a text box for the voters name, then have an asp page e-mail me the result.
I found a forum to e-mail script but I'm still new so I can't figure out how to manipulate it to do what I want or work at all. What I would like is the code to put in my html page and the code for the asp page.
I have no major programming background so am struggling to enable processing of forms on my website. Normally I just use Frontpage extensions or a freeware CGI script.
However, with this particular site, which is being hosted in Zimbabwe, the hosting company says they only support Java or VB enabled forms for processing. Does anyone have any idea where I can get a freeware script that will be easy enough for me to implement?
i have a password reminder page that works, but i'm trying to strip down the username. it's in the database as domain/username, but i don't want the user to see the domain in the email they receive.
when i run the page i get a type mismatch error pointing to the line where i'm outputting the username in the email. i can get this to work when i'm outputting the data to a web page. is it because of cdonts? how would i strip off the data? Code:
I'm just after abit of advice and recommendation about processing a form. Would it be advisable to set the form action to the page were the form currently sits and insert an if statement into the beginning of the page to check to see if submit = Yes?
Then saving the user inputs into sessions?
if all inputs meet the validation requirements then redirect the user to the next step?
Also is there a better way of trapping if a user enters numerical values and special characters than this? Code:
I have a form that users enter details of a car (e.g make model , idnumber#) and then press save to save to the database they may want to order 10 cars with the same details exept the idnumber so to save the users entering in all 5 details I want to make it easier.
Should I have a list box and let the user add idnumber items from a text box and then pass this to my update asp and loop through + to save to the database or should I save one record and then return back to the same form Note : I am having problems with this method as only part of the fields show when I hit the back button I just wondered what is the best method of doing this I am spoilt for choice and I also get problems.
i have created a registration page containing a form than sends username password to an asp processing page. If the user exists it sends the user back to the registration page with server.transfer command otherwise it adds the new user to the database as expected.
Anyhow I now want to add an upload feature to the registration page (using pure-asp). The example I used says that the form Enctype property should be set to mulipart/form-data.
Now when I add a new user via the registration form, the processing page for some reason assumes the user is already registered (BUT IS NOT IN DATABASE) and the server.transfer code is executed ? sending the user back to the registration page.
I use an ASP mail object to send orders filled online to a recipient via an e-mail. I would like to know if it's possible to format the way the order looks in an e-mail? I tried the following, but see no change in the format:
Does anyone know if it's possible to format the way the text look in an e-mail that is sent using the ASP Mail Object? Is there a different way of controlling the format/appearance of the text that appears in an e-mail?
I have the need to create a form that will allow a user to register for summer camp online and also make payment. I also want the ability to export the data to a .CSV or some other simple database file. I do NOT want to export to XML. The form processing program would preferably be ASP or PHP.
I plan to use PayPal or some other credit processing company to allow the user to make payment. This is for a non-profit organization so a free or very inexpensive solution is obviously preferred. Can anyone point me in the right direction?
I have three pages that I am working on at the mo. A select record page that selects a record to be updated. A form page that allows the selected to be amended, and an update form processing page.
With the form processing page I am getting an error which I can't seem to get around- the error is-
"ADODB.Recordset error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record. Code:
I'm using CDO to send mail to the site owner from ASP pages with forms. Recently one of my forms is occasionally sending email with what seems to be an insertion which is replacing the plain text part of the email with something else. Looking at the server sent email source, the hacked emails have the following:
I have an application which sends out emails in HTML format. I have a problem when I am trying to display images in the email (name of the image file is taken from database).
The problem is that if there is a space in the image file name, it displays a + (PLUS sign) and does not display the photo in GMAIL and other emails. The URL of the image gets displayed in the following manner:
I am trying to send an email from an asp page in html format unfortunately when parenthese appear in the HTML code of the page to be emailed the ASP page reads them and trys to interpret them as ASP code
Sending mails using CDONTS works great but I have (for now) just 1 minor problem. I would like to place the username (of the person located in my database) inside my input-box (type="text") and send that as a page to the person using cdonts.
here's a part of my code (simplified):
HTML = HTML & "<html>" HTML = HTML & "<head>" HTML = HTML & "</head>" HTML = HTML & "<body>" HTML = HTML & Email: <input type=""text"" name=""email"" value=""<% = strEmail %>""> HTML = HTML & "</form>" HTML = HTML & "</body>" MyCDO.Body = HTML
So the problem arises at line 5 here. He does not understand the asp-tags inside the text. Anyone who knows how to solve this?
I m displaying details of a document after getting data from multiple tables of my database. Now i wanted to generate an HTML enabled email with the same document as content. I m using ChilkatWebMail for this purpose which has a method objMail.send([HTML Here]).
When i send this mail it generates error. Actual problem is organizing html data before sending. I can't write whole html in send() method. Because my html is very long and fetches data at runtime. I m also uses subroutines to perform individual tasks. So whenever i call a subroutine,it generates error.
CDO is perhaps the most obscure art in web programming, but I hope someone would understand my issue. I have an ASP web application that needs to send email messages in HTML format only -- there is no plain text version. The messages are summaries of answers that people have input into an online survey, and need to have a tabular form.
The following somewhat plausible code does not work:
dim OMsg Set OMsg = Server.CreateObject("CDO.Message") OMsg.Fields("urn:schemas:mailheader:return-path") = BounceEmail OMsg.Fields("urn:schemas:mailheader:content-type") = "text/html" OMsg.Fields.Update
The return path header is set as desired, but the content type header stubbornly defaults to "text/plain". What is the secret to setting that header?
I have seen lots of code examples on the MSDN site for setting the content-type of body parts, but it seems needlessly complicated for my situation and doesn't work on my system anyhow (unknown ProgID error). So I was hoping to just set the message-level header to "text/html". (If I edit one of the messages from my script in notepad, changing the header to text/html by hand, it then is rendered correctly in email clients.)
Anybody know a good component for sending HTML mail with WYSIWYG? I am bulding a system with a lot of Mac (maybe old versions) Internet Explorer/Netcape users.
I have a e-mail function in serverside VB, how would i put html code in the body variable so when email is recieved it looks like html page in the body. right now it just shows up as text in the body of message,
I need to know how to write a link that will e-mail html code. If it's possible, I want to have the user click on a link and have Outlook open up with a title (this part already works) and the body filled with html code that I push in. Here is my current code:
The session values are from a previous asp page that links to this page when you click an the e-mail link.
The session values both show up when I put in a response.write and the title (which is not html, just text) works in the response.redirect -- Outlook opens just fine. The problem is with the msgblock which is in html. Do I need to write a script so that Outlook knows to format for html? Any ideas?