Is It Possible To Send An Instant E-mail Confirmation Based On Form Info?
I have a form where a visitor can enter som information, in this case the e-mail adress, password and some additional info. As soon as the form is submitted I want to send an automatically generated e-mail confirmation to that user's e-mailadress (like the procedure when joining this forum for the first time). When I have retrieved the info from the form in the "confirm.asp" I don't know what to do....
I have a form where the visitor should enter the e-mail adress, a password and some additional info. When the form is submitted I want to automatically send a confirmation e-mail to the visitor, containing the information from the form (like the procedure when joining this forum :-)). Is it possible to achieve that with ASP? Would be very grateful if anybody can finish the code below... because I don't know how to handle the variables after I have retrieved the form info..
I've been racking my brains over this one. I have a Classic ASP edit form with many fields, one of them a Status drop-down. If the Status (option value) has been changed to "Pending" for instance, I do a objMail.send, otherwise it doesn't send.
No problem, but how can I prevent the mail from sending AGAIN if a user goes back to the page and updates another field, or even just refreshes the page? If it helps, I am updating a SQL Server database.
Most sites just don't complete the registration process until the email sent has been clicked, sending confirmation of the email. how to Add auto email confirmation after people have registered, so when people have registrated, an email should be sent to their email account while another email be sent to xyz@xyzcompany.com
And in the email sent to people who just registrated, i need to provide a link for them to click to activate their account.
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'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 .asp page that have a form. When form is submitted it's stored in Database. How can I make it also send an email like to some spesific address when the form is submitted?
I already have .asp file that is some sort of a mailer and it works. But what should that button Submit have to pass parameters into that .asp and still continue what it would be doing?
I have two forms, one on each page. The user fills the first, then the second, then on the third page all the information is displayed for the user to make sure thats what they want to send.
Then they click submit on the third page and it goes through a database and depending on which category, state and county the user selected it will email all the information displayed on that third page to all the emails in the Email field in the database.
Now, I already have the first and second pages(easy enough) and the third page I can get it to display all the info how I want it and now I need to know how to go about emailing that info to the emails that match the specific fields? Right now all I have it doing on the third page, instead of submitting it for emailing, it just displays the info from the forms AND emails that match from the database. Code:
I am struggling to set up a form that would allow me to recieve an e-mail from someone submitting an e-mail address for my sites newsletter. My host does have ASP and it is enabled on my site. It says there is a problem with line 122 on the thank-you.asp page but I am not seeing it. Click here to go to the page with the form on it.
I have constructed an order form and the users will enter the informtion. I now need to send the filled out form as an e-mail (body being the HTML with the fille din data) to a predefined e-mail address. I know how to use CDO. I don't want to go to another page to recontruct the HTML as the '.body'
I have an asp page that posts to a third-party site. I need to send an e-mail from this page when the user submits the form but before it posts to the other site.
I have this piece of code in an .asp file. I call this file through a form and I send an email
Set myMail=CreateObject("CDO.Message") myMail.Subject="my subject" myMail.From=Request("email") myMail.To="myemail@mail.com" Dim Body Body = Body & "Name: " & Request("name") & VbCrLf Body = Body & "E-mail: " & Request("email") & VbCrLf Body = Body & "-----" & VbCrLf Body = Body & Request("the_message") & VbCrLf
myMail.TextBody=Body
myMail.Send set myMail=nothing
The problem is when I try to fill in the form with greek characters. They appear in the email as ????? or very confused characters with no recovery.
I am working on a script and I have a form to a page to be submitted (POST-ed) to an external site.
I need that when the user submits the form, first step is to send an email using an asp script and only after that to post the information to the web site. I can send the email but I don't know how to post the form automatically after I send the email. I think I can use javascript, but maybe there is a better way of doing it?
I have a simple aspmail form on a site I'm getting ready to launch, and the client has several locations... I wanted the user to be able to choose the location from a pulldown that the form was e-mailed to. Do I have to have a backend processing page for each location and have the pulldown point to it?
I have a Frontpage-ASP form that allows users to add their names to a database and indicate their interests for a newsletter that I do. I want to send a confirmation email from my system account when they submit the form. I don't want to use their SMTP because I also want to see what bounces from the address submitted. Frontpage does not allow sending to email and to a database at the same time.
I'd like to have a frequently used link page on our intranet that displays the urls' based on a users's ad group membership, i.e. if from accounting show general ledger reports, if from loans, show credit report. I'm not much worried about hiding from enterprising users, i'd just like to make it simpler rather than having people have to scroll through pages of links.
I'm looking to display information pulled from a database based on information the user puts into a text box. The user will enter their sales rep number and I want to hit a table and return their name as soon as they tab off of the text box. Any ideas or help would be appreciated
I need some help: with cdosys i'm able to send e-mail from asp using the local exchange server. Now I also have to save the sent mail into the user's mailbox for future reference: how to?
When the customer orders the item and completes the transaction I would like to send them and the retailer an email confirmation. Here is my problem, I would like to send the confirmation mainly in HTML format.
However, I also realize that some email programs do notaccept HTML format and in that case I would like to send it in TEXT format, how do I let the ordering system make the automated choice without the user selecting it?
I see that when I order things online, some of those stores will send a HTML cofirmation without me selection the format (newegg, amazon etc...), how is that done?
I have a small shop on my web site and you order the products via a simple form. As an owner of the site, I want the order confirmations to be emailed to three email addresses, two adresses of mine plus one email to the person whoplaced the order. I donīt know how to fix this in the code though and that is my problem.
I can easily arrange for two of the addresses to get emails via the objMail.To command, so itīs when I try to add the buyers email that it gets weird.
That email address, Iīm getting through the form and the name tag "Emailaddress".
I tried to use the commands objMail.Cc and objMail.Bcc, but nothing happend and then I still only got emails sent to the addresses that I put in at the line objMail.To. Below is as far as I have gotten. If I put the three addresses like that and separate with a "&", I got all three email addresses right, but no space between them. So do you have any ideas on what character to use, to split these three addresses so that an email can be sent to all of them? Code:
I need to know how i can set up a form submitted, that will link to a confirmation page on my website, rather than showing results of what the user filled out... this is bugging me so much....
I have the code for the sending mail but i do not know to loop it. I have been given specification saying that i should send mail after registration and deregistration.
so i have a asp page given the action function of the register form so the page updates the registration done. so i given after registration the send mail code and want to have the loop or condition for the mail to be sent to the person who updates registeration and code is as follows....
I'm 99.9999999999999999999% sure there haven't been any code changes, since the date stamps of the code are older than any email 'failures'
The email piece quit working using the mail.send. If there haven't been any changes made to previously working code, where do I look for the problem now? I restarted the SMTPservice in IIS. Our real email is hosted remotely, I checked with the admin and she said no changes were made, i.e., not blocking port 25 traffic from the gateway.
I guess this isn't ASP specific, but any ideas how to troubleshoot this?
I am sending mail from ASP program. My server is win 2k, IIS 5. SMTP server is configured.
I am generating a report(purchase order) and the same sending as an email to the supplier. upto last week it was sending well. Now its returning bounce mail.
in the c:inetpubmailrootadmail contains the file(.bdr). The contents of the file are ....
I would like to know how can i nodify some users which are into my databese with an e-mail? How can i sent to them an "automate" e-mail using VB script.
<% Set Mail=Server.CreateObject("CDONTS.NewMail") Mail.To="rashwathama@yahoo.com" Mail.From="rashwathama@yahoo.com" Mail.Subject="Just testing my script" Mail.Body="Hey! I am sending this email through an ASP Page and guess what? I havent learnt much yet, but know that ASP is very powerful." Mail.Send Set Mail=nothing response.write "DONE" %>
But it did not work
I use Windows 2000 Server and Internet Information Service (IIS).....
Where can i found the source code that allow me to key in myself email address and message and then key in friend's email address, after that my email address will be send out to my fren with my site URL and message that i typed?hope its asp file extension.
<i><b>Originally posted by : Serno (serno@worldonline.dk)</b></i><br />Iīm using IIS 5 on Windows XP. When trying to send a mail using 'CDONTS.NewMail', I get this error message : <br />ActiveX component can't create<br />object: 'CDONTS.NewMail'<br /><br />Please help!!<br />
i m creating city checkboxes from database table...so using this client can subscribe for various cites...after submit i m adding all his/her datails into subscription table ...i m adding all selected city into one colums branch_city...and after this i m sending email to corresponding subscription department of selected city....and only one email to client with the all city name he has been subscribed... Code:
I am having an e-mail being sent from a form submitting on a web page.
Right now, it is just a generic name (not a valid e-mail address) in the Mail From box. "Web Server Request". How can I add a reply to piece to this, so when a user clicks on Reply, it sends it to a valid e-mail address.
I am trying to send an HTML e-mail that sends a webpage from a website. Couldn't get it to work. I am able to send out the email, but body content does not show up on the email.
Set tMail=CreateObject("CDO.Message") tMail.Subject="Test" tMail.From="xxx@xxxxxx.com" tMail.To="xxx@xxxxxx.com" tMail.CreateMHTMLBody = "http://www.xxxxxx.com/xxxx.asp" tMail.Send set tMail=nothing