The site I am working on sends out a automatic replay email to the person who fills out a form. The problem I am having is in the from line there needs to be an ampersan e.g. A & B When the message is sent out the space after the ampersan gets removed. It looks like A &A Anyone have any ideas as to why this is happening or do I have to removed the & completely?
1. in subject section i have formatting problem,as it is appearing in a row. can it possible to let appear the content of subject to user as it is being written in asp's textbooks?
2. function checkform() is not working. It is not throwing any error ,it also prevent to appear invalid email address (say missing @ or so)to appear in from section. but not stopping wrong entry in page,neither alert "alert("Email address is not valid.");" is getting invoked?
3. Can code be modified to get return receipt to user stating some text.? Code:
I have made some email forms using CDONTS. I have a problem when it comes to the textarea field; all the text shows up on one single line when i receieve it in the email.
Is it possible to create a new line automatically when the user press the enter key in the textarea? Any ideas?
I'm using an ASP script to email a form using CDONTS. I'm trying to format the text in the email and for some reason the bottom line either shows up on the same line with the text or two lines down, instead of the line right below the text. What do I have to do to get it down to the next line? Code:
I send HTML formatted emails with links and images in them generated by my asp driven website. Occasionally the image will not appear and the link will not work. By looking at the email at the receive end, (right click/properties/details/message source, this is what I sent: .....
I am running my information pages from access database, using ASP - This database includes an email field, i would like the subject in the email to have an automatic title.
Using ASP, Is there a way to read the File property of an Image. Like Comments, Subject etc. (Information seen when you right click on an Image) I have tried using the FileSystemObject. But this is limited to very few properties like AccessDate Modified Date etc.
I also tried reading the Exif information in the JPEG. The EXIF Comments are not the Same as Comment section available from the Properties of the File.
I had created a macro to read data from an excel sheet and write the values to a text file. I had used "ActiveSheet.Range("GB" & k).Value" command to read the values from the excel.some cells in the excel sheet is having two lines value and four lines data, the text file is generating that value in a single line. (Ex. the cell value in address column is in four lines and should display in four lines in the text file generated from the macro)
Can i do something in the excel sheet or in vb script to read the address value line by line and write line by line in text file?
I have an encrypted .txt file created by asp. Its formatted with lines etc. Title followed by description underneath. I need to read this into ASP now, and parse it line by line. On each line read, run the function to unencrpt and add line to a new file.
Its the line by line Im having trouble with. If i do the full textstream no formatting takes place coz im adding the fulltextstream all in one addline call. How can I loop through lines ?
I am developing a email page for our admin but he wants all fancy things in it like Bold Italics underline strikethrough and font size and font color in it. The page will be in asp and i wanted to know how it can be done .....
I have an ASP page that is essentially a report.. I need to give hte user a method to "Click Here" and email a pdf version of the page or possibly an html file... can this be done... rather how can this be done please?
Is there any simple way of doing this? I want to redirect my end users to a "results" page that lists the details of their order, but I also want to e-mail them the exact same think (not a link). All of my end users have HTML e-mail enabled, and I know that I could just create an e-mail manually. But, I was curious whether I could do this in a much easier fashion.
I have a web page which has a registration form. The user inputs data in the form and I would like to be able to send the entire form contents to an email address (In the HTML format).
What is the best and easiest method to do this? Do I have to capture each element of the form and string it to the body and then send it out in the page or is there any faster way to grab the entire contents of the form entirely and attach to the body?
I am generating an asp page with information on our organizations annual calendar. One of the items presented is the contacts email address. It does appear as a hyperlink but when you click on it, it generates an error page that says "This Action is not allowed"
How do I get it to generate the Mailto: link and open email editor. I am using FrontPage2003 to do all this.
I have a page that pulls data from a database, one of the fields is Notetext which frequently contains an email. I then want to pass this onto another page, that updates the email field in another database, so in page 1:
It all works fine except that only about half the email gets copied into the other database. It's not an issue with the database as it can take that length of characters.
So my question, Is there a limit to the number of charachters you can pass from one page to another in a string? and if so is there any way of increasing this or getting around it?
I have been investigating how to create a multi page form in Frontpage that eventually will allow an emailed result. I can write the asp to "post" from one page to the next easily enough but when it comes to the last page, I can't figure out how to email the results. the syntax "response.write" will write to a web page but it won't fill in the content of am email. I thought of putting the "response.write" inside the body of a CDO.message but that leads to the next question...
While looking at threads about the subject I keep seeing that I should use CDO (or CDONTS) or a third party app like aspmail. All of which, from what I can gather, use IIS SMTP service to function. The problem I will have is that I have Exchange 5.5 on the same machine so the SMTP on IIS won't start since ex5.5 uses that port. I have ex2k on another machine that I will soon move the users over to so that will free up the IIS port but I would prefer using the new mail server for this when it is running. Is there a method for using the ex5.5/ex2k mail system for sending the asp generated email? or perhaps another technique? I would prefer to just write it but if I have to buy something I will.
I have a page that allows user input. On click of the submit button I call a javascript function that verifies that all of the fields are filled out and then submits the form. I need to add code after the verification that creates and sends an email. I know how to do this in VBscript, but don't know how to call a vbscript function from a jscript function (is this even possible?).
This is my first post hope it makes sense. I have learnt how to send emails from forms passing variable etc and it works, but I am lazy so here it goes:
I am writing a set of intranet based asp reports for which the underlying asp code can get quite complicated (tables nested in tables, all sorts of calulations and parameters etc). I would like users to be able to send that report (neatly formated in his browser) by pressing a form button. (by the way, we use Outlook)
1. either as an .html attachement (which would of been saved automatically either locally or on the server)
2. or as an html email (as you would do when doing File > Send > Page by Email in IE 6.0) Code:
How would I send an email to someone from a webpage with a link to the current page? I've seen this where you can put in your email, the person's email that you are sending teh page to, a subject for the email, and a message along with the link.
I have designed a form after submission of which an email is sent to a perticular e-mail id. Up to this it works fine but I need to send a complete filled html page in attachment too.
Can this be possible. If any way to do this please let me know. As mail sender am using CDO.
My company needs an online form that user's can enter information into and once submitted, will dump the user-supplied info into a csv file and email it to the person who heads up the project. Initially, I thought they wanted the form to save the data to a database, and after playing all weekend, I was able to do that. Today I learned that they prefer the emailing a csv file method instead. Any links to tutorials on this subject or sample code with explanation would be greatly appreciated!
Is it possible to create an ASP page that can notify the user that they have an email on our Exchange server? And that will list the number of unread emails they have waiting in their inbox.
I'm using formmail.asp which is an emailing utility. Basically, the user fills out a request page, clicks "Submit" and the page posts to formmail.asp which emails the user information.
I'm running IIS5 on a Win2k server box and recently ran the Windows Updates (the last time I do that). Anyway, that emailing form doesn't work now on any of the sites I host. Any ideas?
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....
OK - I have a shopping basket with data in a database. Once the person has successfully completed their order I want to be able to send them an email with the products ordered roughly in the following format:
Product Price Quantity
prod1 £6.99 1 prod2 £5.99 2 Postage £0.50
Total whatever..I'm lazy
Formatting would be a little different (just spacing out the prod table a little more.
Any ideas or links to scripts that do this?. I've been looking for a while now but have had no luck in finding a solution. I just want to send a text email (and not html).
The other thing is that on the last page but one, this shopping basket is displayed. Is there anyway I could capture the html data from that page, store it in a session variable and then generate the email after the order has been completed (so sort of like sending a mirror of that page)? In that case having a HTML formatted email would be ok.
I've managed to code a function that will straightly replace some given character to another, for security of my pages. For example, I can convert (") to " and (') to ´ ..etc in the form(text field) that allow user to post some data to be stored in the db. But then I don't want the user to write it in HTML tag, and I want that when user press [Enter] on the keyboard, then I can redisplay the message in the way that the user really type in (new line). What I'm thinking is if I can replace the [ENTER] pressing to <br> to be stored in my db. But I didn't found the way I can do that. /n such as in c++ didn't solve. Anybody knows? I use ASP VBscripts/ Does my question clear?