Send Mail And Auto Submit A Form?

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?

View Replies


ADVERTISEMENT

Auto Send Mail

I doing my sistem in localhost. I try to use the method below to auto send mail to the mailbox. But why i didn't receive any mail from it?

Dim objCDO
Set objCDO = Server.CreateObject("CDO.Message")
With objCDO
.To = "spch2o@yahoo.com.sg"
.From = "spch2o@hotmail.com"
.Subject = "Pemberitahuan Perjanjian Perbualan Sistem Penilaian Perisian Khusus Matematik"
.HtmlBody = "perjanjian anda telah ditetapkan pada...."
End With
Set objCDO = Nothing

View Replies View Related

How I Can Auto Submit Form?

I want to auto submit form. After all the script in page run. Or after the specified time.

View Replies View Related

Auto Submit Form Keeps Posting

When a visitor enters the basket section of my ecommerce application he has to press on a button “click to view basket”. The submit button posts the users IP address back to the form. Below is the code:

<form BOTID="0" METHOD="POST" action="ProducsTotalBasket.asp">

<input TYPE="HIDDEN" NAME="Remote_computer_name" VALUE="<%=Request.Servervariables("REMOTE_ADDR")%>" size="20">

</form>

I have tried to automate the submit function by placing the following code into the body of the web page:

<BODY onLoad="window.document.postform.submit()">

This works, in that the records in the basket are displayed automatically without clicking on the submit button however the screen starts going berserk and the form keeps posting to itself i.e. the “ProducsTotalBasket.asp” page mentioned above. It simply won’t stop & keeps looping and posting over and over again.

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

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

Submit Form Via E-mail?

I have made an html form which I would like to send by e-mail. When the recipient receives the e-mail form, I would like them to be able to fill it out and click the Submit button which will submit to an ASP page. This ASP page contains the code to submit the form data to a database. The page works fine when viewed through a browser, but the form will not submit in Outlook 2002 (I haven't tried other mail programs).....

View Replies View Related

Cannot Get Form To Send Me E-mail

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.

View Replies View Related

How Do I Send The Current Form As E-mail

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'

View Replies View Related

Send Mail Based On Form Value - Only Once!

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.

View Replies View Related

Send Mail Before Form Post

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.

View Replies View Related

Char Encoding In Asp Send Mail Via Form

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.

View Replies View Related

ASP Mail, Toggle To Send Form To Different Locations

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?

View Replies View Related

How Can I Send An Instant Confirmation E-mail Based On Form Info?

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

This is enterinfo.htm.....

View Replies View Related

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

View Replies View Related

Send A Mail With Cdosys And Save A Copy In The Sent Mail Folder: How To?

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?

I'm using:....

View Replies View Related

Auto Submit

i want to call another asp page from my aspx web page in the form load of aspx page and populate certain values in the aspx page based on the results returned from asp page.. I have to pass certain parameters like username and password to the asp page and the asp page should be submitted automatically . How to implement the form submission of asp page automatically from the aspx page. Based on the seach results, certain fields in the aspx page should be populated.

View Replies View Related

Auto Submit To A Frame

There are two frames in an asp page.When a frame loads,I submit a form to the other frame in onload event.Sometimes the code works fine, but sometimes it will submit to a new window. Why does it happen? how to resolve it?

View Replies View Related

Auto E-mail

does anyone in here got an idea on how to automatically send an email message once a person signs up for a website? i'm doing a small website right now and if a person signs up on the website details about the non profit organization would be send automatically to their email.

View Replies View Related

Auto Email Send

using asp and vbscript is it possible to send auto emails to the engineers who r assigned that work if the text box contains their name and we can also retreive their email ids.how can u send auto emails to them by clicking a button on the asp form?

View Replies View Related

Auto Send Email

I am trying to add to a web site I am currently designing the function of automatic email sending. I want users to be able to sign up to a mailing list by completing a form (easy enough) and when they click 'Submit', the information is sent to my clients email address. I can quite happily programme everything described here and to auto launch the users email editor (Outlook/Thunderbird etc) with Subject and Body automatically completed but cannot send the information WITHOUT launching the email editor! I see this function on many web sites - no fuss, not even having to click the SEND button, just Submit and it's gone! This is obviously important for people with hotmail accounts etc who don't use Outlook/Thunderbird.

View Replies View Related

2 Qns - Auto Send Email And Search

1st, i want to auto check my db to see if there's any mails to be sent on that day, at 12am everyday... i should create a batch file or create a asp script and use vbscript to call my asp file? How to create a batch file?

2nd, i go a search function..

In my db, i got a column with data like this "a , b , c"
When the user entered "a", i want the information that have "a" in that coulmn to be taken out... i want an exact match of the word (seperated by the comma).. But when i search, how do i seperate the data in the column by a comma to see if i have an exact match?

View Replies View Related

Auto Send Email To AOL User With CDO Message

Code:

Set cdoMessage = Server.CreateObject("CDO.Message")
Set cdoMessage.Configuration = cdoConfig
cdoMessage.From = "admin@nyc-discusfanatics.com"
cdoMessage.To = strEmail
cdoMessage.Subject = "NYC-Discusfanatics.com User Registration"
cdoMessage.HTMLBody = "<html>" &_
"<body>" &_
"Hello "&strUName&"<br/><br/>" &_
"Thank you for registrating with NYC-DiscusFanatics.com Please activate your account by clicking the link below.<br/><br/>" &_
"<a href='http://www.nyc-discusfanatics.com/face/dragonball/AccountActivate.asp?UserID="&strID&"'>Activate my account.</a>" &_
"<br/><br/>Thanks for your registration." &_
"<br/><br/><br/>Vincent" &_
"<br/><br/>Administrator of NYC-Discusfanatics.com" &_
"</body>" &_
"</html>"
cdoMessage.Send
Set cdoMessage = Nothing
Set cdoConfig = Nothing


I got return email that the mail fail to deliever to AOL user. I assuming AOL email doesn't accept ASP script embedded in the email?

View Replies View Related

Submit Scores To E-mail Using Asp

I design and update the internal intranet for an insurance company and
have taught myself HTML and asp. I know enough to design feedback
forms, use java scripts and can just about submit information to a
databse but i dont know how to create a script to calculate a score of
a quiz i have created. I can submit the information via e-mail using
arial buttons to detrmin whether the answer is 'correct' or
'incorrect' but now i am wanting the script to count if the user
answers correct. Any advise?

View Replies View Related

Send Post Method Without Need To Click Submit

is it possible to send info to a page with the post method automaticaly ?
whithout the user having to click the button ?

View Replies View Related

How To Send Mail

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

<%@ Language=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY> .....

View Replies View Related

Mail.send

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?

View Replies View Related

Cannot Send Mail From ASP Using CDO

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

View Replies View Related

E-mail Send

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.

View Replies View Related

How To Send Mail Through ASP

I tried the code given in this site,

<%
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
haven’t 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).....

View Replies View Related

Send A Mail

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.

View Replies View Related

Can´t Send Mail

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

View Replies View Related

Send Mail

I'm using the following script for send emails.Recently, we migrated our server. Everything is working fine. Except the mailing.

<CODE>
set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.RemoteHost=Application("Remote_Host")

Mailer.FromAddress = strFrom
Mailer.AddRecipient "", strTo
Mailer.Subject = strSubject
Mailer.BodyText = strBody & vbCrLf & Application("EMAILNOTE")
Mailer.SendMail
</CODE>
I got the following error
ASP_0177_:_800401f3|Server.CreateObject_Failed

IIS versions are same.

View Replies View Related







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