Mass Email Body Repeated Several Times.

I am testing a mass emailer that I will be sending out this week. I use ASP to read email addresses from a db table which is contains a list of email addresses of those who will receive the email blast. I have included myself to see the results of the test. I noticed when I received the email, the body or content of the email was repeated as many times as there are people in the email list the code was reading from.
Can someone tell me what I did wrong in the code below?

Code: ....

View Replies


ADVERTISEMENT

CDO Mass Email

I have a test and production environment. The code works fine on test
but behaves erractically in production. The script needs to email people
who are subscribed to a particular service. On test it is a small list
but the list on production is fairly large. Does the CDO object have a
maximum number of people that can be BCCed? I also have email addresses
with hyphens in them, are there special characters, (other than @), that
have to be respected? I have seen some other posting with people having
issues with the CDO object and one of the suggestions is to:

# Try using a SendUsing value of 1 (pickup) instead of 2 (port). E.g.
the following line:

cdoConfig.Fields.Item(sch & "sendusing") = 2

Becomes

cdoConfig.Fields.Item(sch & "sendusing") = 1

What is the difference between these two? The webserver is juts using
the default SMTP server, is it going to work with a setting of
cdoConfig.Fields.Item(sch & "sendusing") = 1? Where are they picking it
up from?

View Replies View Related

How To Mass Email From Database

I currently developing a Email marketing application using asp and aspemail for a client. They requested the application to be able to mass email to their client that is store in an access database. So how can i initiate the application email to all the email store in the database?

View Replies View Related

Is ASPMail Good For Mass Email?

I am trying to send out a mass email newsletter. I have 600+ subscribers in our SQL Server Database. Well, is ASPMail (Server Object's product) good for this? If so I have some concerns about the error handling and assuring people don't continue to recieve the same email. Does anyone have expierence with this? If so, what is your advice?

View Replies View Related

Mass Email Using CDONTS...how To Get The Emails Into A Delimited Variable

I want to use a simple CDONT mail script to allow the administrator of a site to send an email blast to their users. there are approx 1600 emails in the MS SQL db table. I would like to parse the entire email address column and get a variable that is all the email addresses separated by a comma so that the form picks it up as all the emails in the 'bcc' field as in the eg. below..I know there has to be an easier way but I want to get these guys up and running.

<%

objCDO.To = "Recipient@oursite.org"
objCDO.From = "mailer@oursite.org"
objCDO.bcc = "$variable_of_all_email_addresses"

Dim txtSubject
txtSubject = "Insert comments and case info here"

objCDO.Subject = ""***ATTENTION*** NEW CASE - MISSING CHILD"
objCDO.Body = txtSubject
objCDO.Send

%>

View Replies View Related

A Loop Within The Body Of An Email?

I've created a page for our Call Center that allows them to view a list of resources that can be found on our online catalog. It's a recordset that has a checkbox associated with each title. In addition, there's several fields that they're asked to populate: "From," "To," etc so they can click the links they want to send, attach a customized message and then send it off as an email.

The problem is capturing all of the titles they've checked and publishing that list in an email. Here's the code I'm using to retrieve the results:

For i = 1 to Request.Form("check").count
set RSLink = conn.execute("select * from Master where ISBN = '" & Request.Form("check").item(i) & "'")
response.write x
Next

No problem! But how do I get that list of items that have been "checked" into the body of my email?

View Replies View Related

Creating An HTML Email Body

I have a rather large form in HTML that needs to be sent as an email. The body of the email is approx. 400 lines (that's in HTML). Is it possible to somehow transfer the entire form to the asp mail script so that it automatically sets the body of the email to contain this form (with input)? Or do I have to write the body by hand in my asp script - like this:

line 001 Body = "<table><tr><td>some text & var1 & </td></tr> "
... ..

line 200 Body = Body & "</table>"

View Replies View Related

Cdosys Body Text Is Not Being Sent By Email

cdosys body text is not being sent by email. Please see if you can spot the problem. Everything below emailHeader & emailFooter is not being sent by email.

see code below:

<!--- BEGIN CDOSYS CODE --->

<%
dim strBody
Set MailObj=CreateObject("CDO.Message")
MailObj.Subject="Your Online order from store-website"
MailObj.From= "store@store.com"
MailObj.To= Request.Form.Item("cEmail")
MailObj.Bcc="store@store.com"
MailObj.TextBody = strBody

emailHeader = "DELIVERY INFORMATION"
strBody = strBody & "DELIVERY INFORMATION (If Delivery was selected):" & VbCrLf
strBody = strBody & "Delivery Choice: " & Request.Form("dChoice") & " on " & Request.Form("choiceDate") & VbCrLf
strBody = strBody & "Delivery Name: " & Request.Form("dName") & VbCrLf
strBody = strBody & "Delivery Address: " & Request.Form("dAddress") & VbCrLf
strBody = strBody & "Delivery City: " & Request.Form("dCity") & VbCrLf
strBody = strBody & "Delivery Zipcode: " & Request.Form("dZip") & VbCrLf
strBody = strBody & "Delivery Phone: " & Request.Form("dPhone") & VbCrLf
strBody = strBody & "Delivery Instructions: " & Request.Form("dInstructions") & VbCrLf
strBody = strBody & "-----------------------------------------" & VbCrLf & VbCrLf

emailFooter = "CONTACT/BILLING INFORMATION"
strBody = strBody & "CONTACT/BILLING INFORMATION: " & VbCrLf
strBody = strBody & "Billing Name: " & Request.Form("cName") & VbCrLf
strBody = strBody & "Billing Address: " & Request.Form("cAddress") & VbCrLf
strBody = strBody & "Billing City: " & Request.Form("cCity") & VbCrLf
strBody = strBody & "Billing Zipcode: " & Request.Form("cZip") & VbCrLf
strBody = strBody & "Billing Phone: " & Request.Form("cPhone") & VbCrLf
strBody = strBody & "Billing Email: " & Request.Form("cEmail") & VbCrLf
strBody = strBody & "Amount to be paid with Gift Certificate: " & Request.Form("GiftCamount") & VbCrLf
strBody = strBody & "Gift Certificate Number: " & Request.Form("GiftCnumber") & VbCrLf
strBody = strBody & "Amount to be paid with Credit Card: " & Request.Form("cCardAmount") & VbCrLf
strBody = strBody & "Credit Card Type: " & Request.Form("cCard") & VbCrLf
strBody = strBody & "Credit Card Number: " & Request.Form("cCardNumber") & VbCrLf
strBody = strBody & "Credit Card Expiration: " & Request.Form("cCardExpiration") & VbCrLf
strBody = strBody & "-----------------------------------------" & VbCrLf

wantedCartColArray = Array(0,0,0,1,1,1,1)
wantedCartColNamesArray = Array("LineItemTax","LineItemTaxValue","ProductID","Quantity","Name","Price","Total")
wantedCartColFormatArray = Array(false,false,false,false,false,true,true)
currencyTypeArray = Array("$",0,-1,-2,-2,-2)

%>

<%
' UltraCart II Email Order Version 2.01
MailObj.TextBody = UCII.BuildEmailBody(false,emailHeader,emailFooter, _
wantedCartColArray,_
wantedCartColNamesArray,_
wantedCartColFormatArray,_
"Order ID",true,_
"Order Date",true,_
"Sub Total",true,_
"Tax",true,_
"Discount",false,_
"Shipping",false,_
"Shipping Method",false,_
"Grand Total",true,currencyTypeArray)


MailObj.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
MailObj.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "localhost"
MailObj.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
MailObj.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
MailObj.Configuration.Fields.Update
MailObj.Send
Set MailObj = nothing
%>

<!--- END CDOSYS CODE --->

View Replies View Related

Email Body Sending As Attachment

I'm trying to send out emails but the body of it keeps sending as an attachment so with some email services, such as yahoo, puts the email into the bulk mail. I was wondering if there was a way to stop it from sending the body as an attachment.

View Replies View Related

Sending An Email At Defined Times.

I have a project where I want an email to be sent at a certain time, say 10 PM every night if there are new hits to my site. The email will be only going to my email address. does any one know of a way to do this?

View Replies View Related

Email Code Run Multiple Times

I have an html page with standard contact us type form. This when posted goes to an asp page which stores the data and then sends an email to me. It then redirects back to the original email form with a message thanking the user for the contact.

The problem is I am getting multiple spoof emails which are being generated form the asp page. Some one is accessing and then just refershing the page so it generates numerous emails.

Is there a way of either hiding the asp page in the original HTML form or checking that the page has been called by the html form rather than just refreshed.

View Replies View Related

CDO Textbody Error- Displays ! In Email Body

I am currently having an issue with CDO and my asp code. The email body is including an "!" and space when the body is greater the 600 characters. Does CDO have a limit on the length of the email body. The issue is occuring both in .textbody and .htmlbody formats. Has anyone seen this before? Where do I need to look in order to determine the cause?

View Replies View Related

Syntax To Have Body Of Email Include Form Fields

I finally figured out how to get my form to its database and have an
email come my way. However I am now trying to set up the body of the
email to include the form details. However the body of the email that
is sent only includes the last line of the "body" tag and has no
details next to it. Code:

View Replies View Related

Jmail 3.7.0 Sending Sessionid With Hyperlink Email Body

I use jmail to send email. Version 3.7. I want to send hyperlink in the mail body with sessionid variable. But I dont know how to concatenate it.

Here is the example which dont work.....

View Replies View Related

How Do You Insert A Message In The Body Of A "<a Href="mailto:" Email..

Hey there, I have a few links in my site similar to this one.

<a href="mailto:contactus@timber.com?Subject=Contact%20Us">

When a site visiter clicks on to this link, it starts up your default browser.

Anyone know how to insert a message in the body of the email?

Something like...

View Replies View Related

Repeated Recordsets (nested)

I am trying to produce a results page where the results come from three seperate tables.

e.g. The main query gets a list of results, for each one of those results I need to display data from another table. I have a list of bars, restaurants, hotels etc.

I want to display the details of those in sections (a bar section showing all the bars etc) each one of the bars is ranked by members. When I do this I get a "type mismatch" which I guess comes from the fact I am trying to equate an array to a single value. How do I get round this? Code:

View Replies View Related

Repeated Text Box Values

I'm entereing values into repeated textboxes in a form that are associated with repeated fields in a database. I am able to request the values, but the associated questions and values are seperated by commas.

The repeat field on the page that I am confirming the selections is repeating but showing the same results on each line. In other words, all of the values are showing up on each line. Is there a way to break these up?

View Replies View Related

Creating A Repeated Region With A Drop Down Box,

i have a drop down box, and would like to create a dynamic repeated region with the database field value

(Present_Goods.Fields.Item("quantity").Value)

ie the values of the drop down box woudl be from 1 to the value of the database field Code:

View Replies View Related

Assign Values To Repeated Radio Buttons

I am bringing in a repeated field from a database and I would like to assign values to radio buttons to be associated with each record. The number of repeated fields will be different for each person, so I cannot enter values for each repeated record. I need a way to assign a variable as well as a value to each record that is being brought in from the database. For instance:

Radio Button Value 3 4 5

Repeated Record 1 O O O
Repeated Record 2 O O O
Repeated Record 3 O O O

I had received some great code from Memnoch, but it created one group for the entire Repeated field, so I was only able to select one radio button for all of the repeated fields. I need to select them seperately and I then need to Request the variable so that i can add, multiply and divide that variable with other repeated variables.

View Replies View Related

'Mass-mailing' With ASP?

I just took over maintaining an ASP codebase for sending out
newsletters by mail, as well as basic subscriber maintenance.

Thing is working ok today, with ~200 subscribers, but there are plans
on selling this 'solution' to clients with substantially higher
demands; at least in the low 1000's..

Would you consider asp suitable for this purpose? Would be a
definitive plus not having to use other technology, but i'm concerned
about timeouts and whatnot while sending out such a batch of mail.

Guess it could be made workable with tons and tons of logging, and
maybe generating a client redirect every X mails, to restart/keep the
script going?

Or is it perhaps possible to fork off a new thread and do this as a
real background task? I'm not too knowledgeable on ASP, and neither
was the guy who wrote this system in the first place, unfortunately.

View Replies View Related

MASS Insert Using ASP/SQL

I have a table in SQL server, that has three columns:

ID, Asset, Keywords.

i.e.
ID Asset Keywords
1 Car Mercedes
2 Car Toyota
3 Color Blue

Ok, what I'm trying to do through my asp page (since I cannot do it through SQL, seeing as how it appears that what I want to achieve would be outside the scope of why it was created)... is I'm trying to run a query that will get a list of the assets available and then string the keywords for that asset to a variable. Code:

View Replies View Related

Use Mass E-mailer

I tried using the one listed here http://www.aspfree.com/c/a/ASPCode/...rom-a-database/ but I keep getting an error which I've posted but haven't found an answer for yet. Does anyone know of any other one that I can use. I basically want to be able to pull a list of the emails out of my db and send an email to those addresses.

View Replies View Related

Mass Emailing

I'm given a DB with everyone's particulars including emails which
I'm supposed to retrieve all their emails and do a mass reminder email.

Can someone give me some ideas as how am I supposed to go about doing it
using asp and vb as I'm quite new with the languages.

View Replies View Related

CDONTS Mass E-mail

My problem is, when I send e-mail to our members, not all of them are getting them and there is no rhyme or reason. I was thinking of re-writting the program to go through MS Outlook so our Exchange Server will take care of sending it. Then again, probably there is someone who can help me figure out why some e-mail are not getting delivered even though they have valid e-mail addresses. There must just be about 25-35 out of probably close to 2000 members in our mailing list. I am using SMTP do you think it is getting overloaded with delivery? Sometimes they would come back with a delivery delayed notification.

I posted my code because there might be something in my program that does not work for mass e-mail sending and somebody might want to give me a suggestion on handling this matter.

What if I send the e-mail one by one instead of doing a bcc?

View Replies View Related

Mass Update Records

I just had a problem where I needed to update a bunch of records from a single form submission. I am sure there are lots of better ways to solve this, but I offer the code I came up with. Also I’m asking if there are any better ways.

The form page had a form in it with a table. Each row in the table had a database record in it. In each row, sat the input field titled “myOrder” and a hidden field called “myID”. The table was a repeat region, so that each field was populated dynamically from each record in the database. The number of records was dynamic in that they increased or decreased by the category the user was in.

The page submitted to my mass_update page.

Here is the relevant part of the code that took each “myID” and “myOrder” data and then updated the database record:...

View Replies View Related

Mass Mailing System

Any body guide me about how to sent 1 lakh email at a time by using cdonts.newmail

View Replies View Related

Mass E-mail Components

I'm going to have a need to send out about 30,000 e-mail messages regularly to addresses that reside in a list/database. (not spam :)

Because of insitutional infrastructure issues on the +receiving+ side, I need to space out the sends: say, send 500 messages, pause ten minutes, send another 500, until the full list of 30,000 is complete.

I'm either going to code this myself, or buy a component that does this for me. Can anyone advise me of a component that can deliberately slow down the processing/sending of an e-mail job? The SMTP stuff will reside on our end.

View Replies View Related

Multiple/Mass Insert

my page(searchresults.asp) will show all the results that you searched for.. These results are from the sql server. All the datas are different. On the right of every record, there is a checkbox.

Now is the scenario..

After all records are shown, I will check a few checkboxes. Then i will click the button. All the data that is checked will be inserted in the sql server. But the thing is that all data records is different..

Its actually kinda off like the hotmail, where you checked a few boxes and put them into a different folder..

View Replies View Related

Best Approach For Mass Mailing

What would be the best approach to sending a mass email out without clogging the server or running the risk that emails maybe lost (possibly due to a timeout).

Currently, I've been given the task with sending out a monthly newsletter to our customers (upon request of course). It is an easy task from what I can tell, simply bcc all the emails, set HTMLBody and TextBody and send it off. But, I will be sending this to 5000 clients and dont want any dropped emails.

Plus, is there a way to determine failed email address (due to bad domain names, bad email address, etc) and report it to the web application?

View Replies View Related

Legal Mass Mailing Problems?

I am web admin for a school's website and now and again I have to send
emails to those who have signed the guestbook and have consented to this.
Now I have a distribution list within outlook but whenever I try to send
these emails I receive different errors e.g. 'too many recipients' Does
using CDONTs to dynamically send emails eliminate this problem? Are you
aware of any cheap programs out there that will meet my needs? I would also
like to be able to easily track and delete the emails that are no longer in
use...

View Replies View Related

Mass Emails, Non-listserv Solution

My client does not want to use a listserv. He wants to send 5000+ emails,
once everyday to our members. Our hosting company has agreed to this.

What are my options here?
I know I can write a basic looping SQL script, but that would take
forever....

What about an "email queue" through SQL? But I cannot install any components
on the web server, so what options are there?

View Replies View Related

Mass Emails To Individual Address

I'm given a DB with everyone's particulars including emails which I'm supposed to retrieve all their emails and do a mass reminder email to the individual email addresses.

I don't want to send a email whereby all the email addresses is shown in the email. Can someone give me some ideas as how am I supposed to go about doing it using asp and vb. Is there any working codes I can refer to?

View Replies View Related

CDONTS With BODY

I am trying to create a form with just an email address and a text area so I as the administrator can send a customer an email with an attachment. I have the form set up with the email address but I can not get the CDONTS to send the textarea.

I make the textarea the object body but it still does not work. Any help would be appreciated. I was able to do it with ASPEmail but not with CDONTS. I want to be able to open the form and put the customers email address in the form and then a message in the textarea to send them an email also with an attachemnt.

View Replies View Related







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