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?
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 .....
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:
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?
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.
Im running a simple mail system program which emails newsletters to a database list of 3000+ users.
The program loops through a database containing the emails and sends them out using ASPEmail.
My question is, is there some way i can validate each email address so that if there are invalid characters e.g. the space in "blah @blah.com" it will skip the record and continue the loop.
At the moment i have a working program however, whenever the program comes across an invalid email address it stops at that record and prevents the program from emailing any further.
I am having a problem formatting an email message which comes from a form.
I am currently having difficulty with the <br> tag which I am using for line spaces within my email. I am getting an expected statement error message which is pointing to the line which is underlined below. I can't think what is causing this.
1. I want users to type in their email address on a textfield, and after users press the "Submit" button. The info will automatically go to another person's email to receive a compliment, suggestion, etcetera.
2. Another is how to include the message written on a textarea of a form with the ASP code supplied below: Code:
how to write to check verification valid email thru nslookup or mx record or dns record. Is it possible to do that. Is there any tutorial from sitepoint, previously found it but i lost the link.
example to check assume test@domain.com is not a real email, abc@domain.com is real email how do u check it.
Just starting to play with scripts, and need a little guidance. I want to check to make sure that the email addresses users enter in a form are identical before it will allow them to submit. here's what i have:
the variable for the second email address is EmailFrom2
'validation Dim validationOK validationOK=true If (Trim(EmailFrom)="") Then validationOK=false If (validationOK=false) Then Response.Redirect("emailerror.htm?" & EmailFrom) If (Trim(Name)="") Then validationOK=false If (validationOK=false) Then Response.Redirect("nameerror.htm?") If (Trim(CityState)="") Then validationOK=false If (validationOK=false) Then Response.Redirect("citystateerror.htm?") If (Trim(SchoolName)="") Then validationOK=false If (validationOK=false) Then Response.Redirect("schoolnameerror.htm?")
Set myMail=server.CreateObject("CDO.Message") myMail.Subject="subject" myMail.From="me" myMail.To=request.form("email") myMail.TextBody="hello" myMail.Send set myMail=nothing
this script sends emails to some addresses but not others--and its based on the email service it's sending to. for instance, hotmail email addresses get the email, but mail.com email addresses dont get the email. i have tried sending it to other email hosts, too, and still, some work, some don't. what is going on here?
Dim Mail Set Mail = Server.CreateObject("CDONTS.Newmail") mail.From = "abc@hotmail.com" mail.to = "xyz@hotmail.com" mail.subject = "Test Email Subject" mail.body = "This is Email body message" mail.send
Now the question is that this code will use the Default Virtual SMTP Server in IIS, but I want to use my ISP's SMTP server. please tell me how to do this. I have used my ISP's email server in Outlook express and it is working fine. Please do not suggest to use "CDO" or "CDOSYS" to use for sending emails because I must have to use "CDONTS".
has anyone got a function or subroutine which will remove blank out or remove email addresses.
i've wrote a function which will remove valid email addresses, it's pseudo addresses such as "blah @ blah.com" or "blah_at_blah_dot_com" or "blah_at_blah_._com"
the function is basically to stop users posting an email address in a message.
I created a web page from Excel2000, using "Save as web page..."...Publish function. then, I moved htm file to my IIS web server. Then I added a form control, and submit button.
How can get the data on the excel file using ASP from server side? For example, the value of Cell(1,2), Cell(2,3)....
What I want to be able to do is create a user control that will display an entire page page within it. Does anyone know how to do this or better yet have any same code?
I like to know how to write this specifc function on ASP where the user eg: display a set of records on the webpage. Example the data are ID, Name and address.
Lets say i display the data on the webpage and i set the Name as the <a href>. So when i click on the name, it will move to another page with the id of the specific name. Code: