ASP Form To Mail - Duplicate Email Problem!!

I am making a multi-page form that will be sent to email... I have no problems sending the form data to the email address, but I keep getting TWO COPIES of the same email!!! What's going on? Code:

View Replies


ADVERTISEMENT

Duplicate Email Messages

I'm running into a problem where in code I'm definitely only saying jmail.execute one time, but am receiving two emails. The time stamps and content are identical, but the message id is different.

It does not happen everytime. Is this a known bug with jmail? Has anyone run into this? The message id being different should be enough proof that it's not a problem with the mail server.

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

Email With CDOSYS SMTP Mail

I've been using CDOSYS Mail and this bit of code fine for a year. Well, we wanted to change the method of sending email from the Webserver sending it, to designating a specific SMPT server.

So, I found this code on MSFT's web site (MSFT CDOSYS SMTP ) that will allow me to do this, and it works, except that the redirect command that I have at the end of the file no longer works. I have no idea why.

Thi is the error I get:
error '8004020f'
/asp/send_email_foundation_conf.asp, line 78

Code: ...........

View Replies View Related

CDONTs - Problem Formatting An Email, From Form To Email

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.

The code for my processing page is below:-

View Replies View Related

Email Multiple Recipients With CDO Mail Component

I'm a PHP programmer who for some reason was tasked with fixing some code on an asp page. I have what I feel should work, but I am getting this error:

CDO.Message.1 error '8004020c'

At least one recipient is required, but none were found.

/admin/mass_email_monthly.asp, line 47

Line 47 being this line: objMessage.Send

Now I want to have multiple recipients pulled from the database as illustrated in the code, but it isn't working. I have no idea why, and I have no idea what that error message means? Can anyone point me in the proper direction of a tutorial that can help? OR possibly show me where my syntax is wrong?

View Replies View Related

How Can I Watch A Mail Folder For Incoming Email?

i want to build a trouble ticket system. i'd like to have a component
written in vbscript watch a specific mail folder for income email (something
like 'troubletickets@acme.com') the system should write the sender's email
address, time received, and message body to sql server, return a new trouble
ticket, etc. anybody know how to set this kind of thing up?

View Replies View Related

Mail Content-type And Messages In One Email ASPMailCtrl.1

What I want to do, is to be able to send only one email with tow header text/plain and text/html with two different messages

I was able to do it only to send two email with different content-type and messages, but I would like it to send only one email with two content-type headers and two messages ...

View Replies View Related

Tracking Email Success Or Failure With CDONTS Mail

Anyone got much of a clue how best to send emails to selected people from a database table and to be able to track them, maybe as much as a read receipt, or perhaps just checking that they don't bounce, or end up in the bad mail folder.

Is this best/possible to try and code or is there a free/cheap component that does this simply.

View Replies View Related

Email Form - Verify Email Address

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?")

View Replies View Related

ASP Email Form: Sends To Some Email Addresses But Not Others..

here is the script i use:

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?

View Replies View Related

Form To E-mail

I have an html page with a form on it. I need the information that a user fills into the form to be sent to an email address via an asp file....

View Replies View Related

Form To Mail In Asp

i need componets/scripts to use in my forms

i want users to fill the form & i'd like to get the same data via mail.

same as feedback/suggestions forms on other sites.

for my asp pages : i want script &/or component

for my jsp pages : i want servlet &/or script

i'd like to have tutorial/example files for the same if you can provide.

plz give me requested package i need it very urgent.

i've used CDONTS.dll but it requires local SMPT which i dont want to use,

tell me the another way or tell me how to give mailhost name using CDONTS

View Replies View Related

E-mail Form

is it possible to create a form so that when it is submitted, the data on the form will be sent in the body of an e-mail to a specified address?

View Replies View Related

Form-Mail

I have a contact form, that needs to be sent as email. However, I would like that email to be received with elements of the contact form in order and not as code in between. Personally I would put it into a DB. But My client uses a server that supports ASP but not access db. Go figure. and the current form made in PHP does not work for some reason. Is there a way to parse the email in ASP so it is organized.

View Replies View Related

Form -> Mail

I normally code in PHP but need to be able to send the contents of a form in asp. the thing is, i really don't know where to start and have got completely lost in all the different scripts I have found.

Does anyone have a script which does this?I need to get the contents of the form to be sent in an e-mail in such a way that it is lisible for a complete stranger.

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

Mail Info From A Form

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?

View Replies View Related

Form To Mail Checkboxes

I'm sure questions like this irritate the hell out of experts but I'm more designer than programmer. Please could someone help me to create a form that will allow users to tick check boxes then have this info sent to an email address. I've managed to create text fields that work (which is a miracle in itself) but check boxes have me stumped.

I have an asp server script called confirmation.asp

<%
DIM strEmail, strName, strAddress, strTel, strMobile, strTrade, strCurrent, strRenewal, mail, reply, objMail
strEmail = request.form("Email")
strName = request.form("Name")
strAddress = request.form("Address")
strTel = request.form("Tel")
strMobile = request.form("Mobile")
strTrade = request.form("Trade")
strCurrent = request.form("Current")
strRenewal = request.form("Renewal")

mail = "email@email.com"
reply = request.form("Email")
Set objMail = Server.CreateObject("CDONTS.NewMail")
objMail.From = reply
objMail.Subject = "FM Green Insurance Request"
objMail.To = mail
objMail.Body = "Email: " & strEmail & vbCrLf & _
"Name: " & strName & vbCrLf & _
"Tel: " & strTel & vbCrLf & _
"Mobile: " & strMobile & vbCrLf & _
"Trade: " & strTrade & vbCrLf & _
"Current: " & strCurrent & vbCrLf & _
"Renewal: " & strRenewal & vbCrLf & _
"Address: " & vbCrLf & strAddress

objMail.Send
Set objMail = nothing
%>

and fields like this on my form

<td>Email: </td>
<td><input type="text" name="Email" id="Email" size="50" /></td>
</tr>......

View Replies View Related

Form Mail With Attachment

I just need a form that sends to an email address and sends an attachment.

1. I have tried php: matt wrights script and jacks form mail.
(set to multipart form data: they send the mail, but still dont send the form attachment.)

2. I have tried using pure asp upload and the cdont mail object.
and that wont work with the imail smtp. ( i think I need to use cdo's or .net?)


If anyone has a form with attachment script that works with iis and imail email server.

View Replies View Related

ASP Form To Mail Error

I have an ASP script that collects information from a form on my site and
sends it as an email. The ASP script is calling CDONTS.DLL which is
registered on a win2k3 server with Exchange server running.

When submitting the form there is an error when it comes to the 'mail.send'
part of the script. I have given all the necessary folders the correct
permissions as per microsoft however I still get the same errors.

I believe it is something to do with permissions because if I disallow
anonymous access to the site and access it through the local network as a
logged in user the script works fine.

View Replies View Related

E-mail Contact Form

I am looking for a good e-mail contact form script for my bands website. Does anyone happen to know of any good free scripts for me to check out?

View Replies View Related

Form Mail Script

Does anyone have a form to mail script that works on a WIN2K server running IIS 5?

View Replies View Related

Form To Mail Script

I have searched for a decent asp form to email script, but cannot find one that is suitable. What I need is: Email results to a specified email address (dont want this to be a hidden input for spam reasons)

A thankyou page

an error page (validation)

Does anyone know of any good ones?

View Replies View Related

Chilisoft Asp Mail Form

i get code samples for servers running windows/IIS. the problem is that the server with my site is an aapche with chiliasp-3.5.2L-C3. i cannot figure out the syntax to take the input from the html form and mail it to a specified address.

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

Form Mail Security

I'm having trouble with spammers getting through my mail script. I've heard of FormMail for php but I need a solution for ASP. Any suggestions? I don't know how to stop these guys from using my forms to spam.

View Replies View Related

Attach A File With Mail From Form

I'm trying to get my users to attach a local file to the mail they sending me from my page.

My form code is: ....

View Replies View Related

Should Be An Easy Form To Mail Question

I've searched the forum for the answer to this..it's probably on here somewhere but in a different guise to my particular question and I don't know enough to figure it out.

If I have a basic form to mail ie

strEmail = request.form("Email")

and

mail = "me@me.com"

can I simply do this to get my form to be sent to 2 email addresses?

mail = "me@me.com, you@me.com"

View Replies View Related

Configuring Form For Cdonts Asp Mail

I have to ask for some help on this simple task. I have a form that I want to sent via email. I made an asp mail form/file that looks like this:

Code:

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>

<body>

<form method="POST" name="aspmail.asp" action="--WEBBOT-SELF--">
&nbsp;<p>&nbsp;</p>
<p><input type="text" name="T1" size="20"></p>
<p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
</form>

</body>

</html>

Ib have linked this form via POST to my aspmail.asp cdonts code. This looks like like this:

Code:

<%
Dim objMail
Set objMail = Server.CreateObject("CDO.Message")
Set objConfig = Server.CreateObject("CDO.Configuration")

'Configuration:
objConfig.Fields(cdoSendUsingMethod) = cdoSendUsingPort

objConfig.Fields(cdoSMTPServer)="smtp.1and1.com"
objConfig.Fields(cdoSMTPServerPort)=25
objConfig.Fields(cdoSMTPAuthenticate)=cdoBasic
objConfig.Fields(cdoSendUserName) = "mdinrune-1"
objConfig.Fields(cdoSendPassword) = "rtdhe"

'Update configuration
objConfig.Fields.Update
Set objMail.Configuration = objConfig

objMail.From ="info@justonedomain.com"
objMail.To = "kmuel@aol.net"
objMail.Subject ="Information"
objMail.TextBody="This is a test for CDO.message"
objMail.Send

If Err.Number = 0 Then
Response.Write("Mail sent!")
Else
Response.Write("Error sending mail. Code: " & Err.Number)
Err.Clear
End If
Set objMail=Nothing
Set objConfig=Nothing
%>

Can anyone point out why this is not working? It should work.

View Replies View Related

ASP Form Mail With Mulitple Attachments

I have found a FormMail type script in ASP that will send 1 attachment but getting any more seems to be a problem.. Can anyone suggest a script paid or free download?

Also the webserver and exchange servers sit on different boxes will this cause any problems?

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

Line Breaks In An E-mail Form

Is it possible to create line breaks in a form? All of my informations appears as follows:

This mail message was sent from the www.ccbwebdesigns.com Online Form Email: First Name: John Last Name: Doe Business Type: Anonymous Business Name: In the Dark Phone: 555-GHOSTLY Mail: casper@haunted.com

I would like a line break after each individual text field.

Here is my ASP code....

View Replies View Related







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