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 .......

View Replies


ADVERTISEMENT

Processing & Emailing HTML Form Results

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.

View Replies View Related

Send E-mail In HTML Format

If i want to send an email in HTML format, do i just set the bodyFormat to 1 or it's much more complicated? any examples available?

View Replies View Related

Send HTML Body Format CDO Mail

I have been using CDO Mail but the message body is plain text. Is there a way that I may send an HTML body so that I can format some tables?

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

Write From An Html Form To Csv Format

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.

View Replies View Related

Sending Mail With Asp From An Html Form

I need to send a form via email using ASP to my client. My form is in HTML.

I'm using method="POST" action="mail.asp"

How do I grab the fields and send them using ASP?

here's the first part of my html:

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

Vote Then E-mail Results

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.

View Replies View Related

Form Processing With VB

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?

View Replies View Related

Problem Stripping Down Db Results For Cdonts Mail

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:

View Replies View Related

Advice For Form Processing.

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:

View Replies View Related

Batch Form Processing

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.

View Replies View Related

Multipart Form Processing

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.

View Replies View Related

Format E-mail

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:

H1 = "<b><font size=2 color=#ED171F face=Verdana, Arial, Helvetica,
sans-serif>Order Type:</font></b>"

StrBody = H1 + Request(OrderNum) + vbCrLf

Then I get Order Type: just as plain as it would come if it didn't have any formatting.

If I do the following:

StrBody = "<b>Order Type:</b> + Request(OrderNum) + vbCrLf

Then I get <b>OrderType:</b> as the heading.

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?

View Replies View Related

Signup/payment Processing Form

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?

View Replies View Related

Form Processing Page Error - BOF Or EOF

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:

View Replies View Related

Mail Insertion Hack On Send Mail Form

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:

View Replies View Related

Conversion ASP In WORD Results HTML

That happens only in a little LAN (win2003 server, XP client with
office XP).

You know the couple of instructions

Response.ContentType = "application/msword"
Response.AddHeader("content-disposition", "inline;
filename=stampa.doc")

that convert an asp page in word.

Well, in this LAN you can save the .doc file but when you open it you
see the HTML code of the page.

It depends on
1 - An option of IIS, server ?
2 - An option of the browser, client ?
3 - An option of Word, client ?

The same page works correctly everywhere.

View Replies View Related

Html Format

can anybody help me out?what i need to do is -- upload a .doc file to an
html format so that the formatted text is not changed.

View Replies View Related

HTML Format Emails

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:

3_Marathon+Crescent_Toronto_1.jpg+

How do I solve this + (PLUS sign) issue?

View Replies View Related

Sending Emails In Html Format

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

<div align="center">

any suggestions?

View Replies View Related

HTML Mail

I am trying to write a session value into a html email body and am unsure of the syntax:

Title=Session ( "Title" )

HTML = HTML & "<FONT SIZE=""6"" FACE=""BERNHARDFASHION BT"" COLOR=""#FFC880""><B>Session ( ""Title"" )</B></FONT></td></tr>"

View Replies View Related

ASP In HTML-mail Using CDONTS

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?

View Replies View Related

Generating HTML Mail

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.

View Replies View Related

CDO Question -- Generating Email Messages In HTML Format

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.)

View Replies View Related

Special Characters To Be Converted In Html Encoded Format

I want the special characters to be converted in html encoded format. i am using asp.

but i m getting the same string that i have passed as output.

input:

<% Response.Write("the html characters =" & Server.HtmlEncode("<p>")) %>

output:

the html characters =<p>

is there anything more required to do this.

View Replies View Related

Displaying Image Using The Mailer Object In HTML Format

The code sends an automatic email, but the email is html format. At the top of the email i want to include an image.

Everything is working except the image is not being included, instead a box with a X appears.

Here is the code that i am currently using

Dim htmlMess ' THIS STORES THE HTML CODE

PHP Code:

View Replies View Related

HTML Mail WYSIWYG Component

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.

View Replies View Related

Send Mail In HTML ERROR

I have a small problrm in sending mail in HTML

I'v done this code, but.:

Code:

Private sub SendMail()
MailBefore = "<html>" & chr(13)
MailBefore = MailBefore & "<head><title>" & MailSubject & "</title></head>" & chr(13)
MailBefore = MailBefore & "<body>"
MailBody = MailBefore & MailBody & "</body></hmtl>"
select case strMailMethod
case "cdonts":
SendCdonts()

I receive like this....:

View Replies View Related

Html Code In E-mail Body

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,

<html><head></head><body><table><tr><td>one</td><td>two</td><td>three</td>
<td>four</td></tr></table></body></html>

There must be a way because i get emails with html ?

View Replies View Related

Link To E-mail An HTML Document

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:

response.redirect "mailto:?subject=" & session("screenname") & "Report&Body=" & session("msgblock")

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?

View Replies View Related

Tool To Convert Html To Multiline String For Mail?

I need to convert html into a multiline string which looks something like this:

shtml = "<table border=""0"" cellspacing=""0"" cellpadding=""0""
width=""720"">" & _ "<tr><td width=""100%"" valign=""top""><br>
<!-- MainTable -->" & _

....

Is there a tool that can do this?

View Replies View Related







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