Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    ASP




Sending Bulk Emails


I have a Client Mailer page which basically sends emails off containing information specific to each client = email address found in the relevant database. I basically get this to simply loop through the client recordset (recordset.moveNext), and on each loop it sends an email to the relevant email address via CDOSYS.

Can I just check that this is ok, and this could :

a. Not have a maximum amount of clients this could send to, and basically be too much for the page to cope with if there were too many clients to loop through?

b. This could not cause some sort of Email block due to the server thinking it is spamming, etc.?

This was something someone mentioned, which I just wanted to check out!, as they suggested changing it to a Javascript refresh page, whereby it will send an email every 6 seconds for example by refreshing the page with Js, but I don't really want to change it to this unless I have to... as I was hoping the way in which I have it with the recordset loop, that it would be ok.




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Sending Bulk Emails
We are having large database of 3000 emailids and we want to send the newsletter to all these ids at a time. The program works for 20 to 30 email ids but when we are trying to send for 3000, the page cannot be displayed error is coming. When it is run in local system server.scripttimeout error is coming and the mail is going to 2000 mailids.

Sending Emails With Asp
I need some advice on how to write an email script in asp. I am farely new to asp but so far i have manage to understand most of the materials i've covered for this language except for sending emails from a form.

I've read the following tutorial ->URL twice, but i can't get the script working.

What am i doing wrong?

I am working on my personal box at home, do i need to have a mail server running? do i need to have addtional asp component install?

ASP CDO Sending Emails Twice
I have emails being created and sent using CDO and it is working well but, the email is being sent twice. I only call the .send once (per person) but it comes through twice.
Code:

Sending Many Emails
I have an exchange server, that I sometimes use to perform mail shots to
clients on our database, these can be upwards of 1000 at a time.
As we don't want different clients to see who we are working with we put
these mailshots in the bcc field of the mails.

This can sometimes cause a problem as we are getting alot of mails bounced
back. I would like to write a script to have these emails sent
out individually using the to: field of the mail. I have googled for
examples of doing this but haven't found anything useful yet

Sending Emails
if i m the server, i had this feedback page whereby i need the user to type in the feedback in a textbox and then send it to mi. he must enter his email in a textfield and click on a button. issit possible to do that? without having to use outlook express to pop out??

Sending Emails
Im searching around how to send emails but it doesnt seem to be working for me. They stay in the queue and research tells me that a firewall might be blocking them from being sent.

This is in the events log: "The remote server did not respond to a connection attempt."

Is there a way to send the email via the user's mail program?

Sending Emails
how can I send two emails with different messages to different users? Do I need to have two .asp files? or I can do it just in one? If yes, how do I set the obCDOMail.Body to get the value of two different variables?

Sending Multiple Emails
I have about 5000 emails in my database. I wrote a basic script that sends
an email to all of those email addresses. Usually I have to break it up and
only send 300-400 at a time so my script does not timeout.

I know I can up my timeout to 45 minutes if I needed to, so that they could
all be sent at once, but I do not believe that is a wise decision.

Does any know of any other ways to do this more efficiently?

Sending Two Emails At A Time With CDO
I have an application form and as the user finishes the application form, an email is sent to the user to notify him/her that he/she has successfully been registered...what i want to do is that another email is sent to me at the same time to notify me that a new user has registered...is there a way to do it by only defining one CDO or do i need to create two CDO(s)...i mean:

Set objMail = CreateObject("CDO.Message")
Set objMail2 = CreateObject("CDO.Message")
.
.
etc...

can someone please advice me if this is the right way?

Need Help For Sending Emails By CDONTS
I am using CDONTS object to send emails to a person when he is registered with the web portal,but the problem is the mail is getting filtered as a spam or junk mail, and does not land in the Inbox,how to send this auto generated email into the inbox and not as a spam or bulk mail.

Sending Emails Trough Asp
i want to know how to send the form contents to an email id through asp without using "CDONTS" component coz my server does not support the component

Sending Emails With CDOSYS
I need to be able to send emails from my webserver using ASP and I am using CDOSYS to do this. I have set up my Global.asa file as follows: Code:

Sending Emails From An ASP Page
I have an ASP page that sends an email using JMail:

set msg = Server.CreateOBject( "JMail.Message" )

It works fine in my local server, but when I send my ASP page to Network Solutions it doesn't work. I guess it is because I can not run the JMail installation program at their server, therefor the object can not be created. Is there another tools I can use instead. Something that doesn't require installation, I guess.

Sending Emails In Html Format
I am trying to send an email from an asp page in html format unfortunately when parenthese appear in the HTML code of the page to be emailed the ASP page reads them and trys to interpret them as ASP code

<div align="center">

any suggestions?

Sending Emails And Showing Progress
I need a way to show the client that the emails are being sent and how many are left. The way I want to do this, is by opening a window which will send the emails and display the status. The problem is how do I pass it the subject, body and so on. I don't want to use a querystring. I thought of doing it like so:

onSubmit = progress() - this will call a js script which will open the progress window
action = (the page that gets all the values from the form and sends the email)

Is there a way to update the popup window from the "action" page? for example: everytime an email is sent... increase a variable and send it to the popup window, and then close it when its done.

Sending Emails With CDONTs In Russian
I'm sending Russian text in an email generated from the website which displays in the email as ??

The website is set to codepage 65001 and the charset to utf-8.

Sending Reminder Emails Automatically
I have an online classifeds website and would like to send automatic reminder emails to advertisers 3 days before their advertisement expires.

I am able to send emails via CDONTS from a form but are unsure how to extract the date details from the database 3 days from the renewal date and send an email to all relevant advertisers . I have an Access database attached to the web pages.

ASP Bulk Emailing
I am currently working on script which needs to be able to send personalized emails.

The number of emails needing to be sent at one time could be anywhere from 100 to 100,000.

I would like to provide this as a background process. IE The administrator clicks on the "Dispatch Emails" button, is able to continue with his work, and then sometime later a popup windows shows up telling him the emailing was successful.

The script is currently using a sendmail function using CDONTS. Will this be able to handle a large number of emails? What about being able to somehow have the sendmail functioning in the background?

I have never worked with ASP send mailing features before and I guess I am looking for suggestions as to how i should go about this.

CDO Bulk Email
Novice here, I am doing bulk emails using CDO, connection to a smtp
server at another location. I am trying to streamline my script, or
through it out and start over to make it faster.

I know that I am doing something wrong and that messages should be
sending much faster.

Set objConfig = Server.CreateObject("CDO.Configuration")
Set Fields = objConfig.Fields

With Fields
.Item(cdoSendUsingMethod)= cdoSendUsingPort
.Item(cdoSMTPServer) = "blah.com"
.Item(cdoSMTPServerPort) = 25
.Item(cdoSMTPConnectionTimeout) = 10
.Item(cdoSMTPAuthenticate) = cdoBasic
.Item(cdoSendUserName) = "blah@blah.com"
.Item(cdoSendPassword) = "blah"
.Update
End With

Set objMessage = Server.CreateObject("CDO.Message")
Set objMessage.Configuration = objConfig

' Open database here

objRS.Open SQLString, objConn,2,2
I = 0
With objMessage
.From = "Blah Mailer <blah@blah.com>"
.Subject = Request.Form("Subject")
.TextBody = Request.Form("Body")
Do while not objRS.EOF
.To = objRS("Name") & "<" & objRS("Email") & ">"
.send
objRS.MoveNext
I = I + 1
Loop
End With
objRS.Close
objConn.Close
Set Fields = Nothing
Set objMessage = Nothing
Set objConfig = Nothing

Bulk Inserting
I have an error as follows:

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC SQL Server Driver][SQL Server]Could not bulk insert. File 'c:mydata.csv' does not exist.

My mydata.csv file is inside the directory i stated. But why does the server complains that the file is not fould?

My codings:

strSQL = "BULK INSERT NAME FROM 'c:mydata.csv' WITH (FIELDTERMINATOR = ',',ROWTERMINATOR =

'
')"

Response.Write ("test")
Set oRS = conn.Execute(strSQL)

Bulk Updates
I have an Employee Database in MSAccess with more than 10 tables. The updates of employee is done frequently and is done in bulk. The fresh data arrives in Excel worksheets (more than 50 records).

I have created a user interface in ASP to update these records in Access. But the user ends up doing more work updating. Importing Excel worksheets to Access is one way ...but then the column names and types have to be adjusted evrytime.

Can i build a datagrid in browser using ASP, so that the whole table gets displayed and the user can update the data in bulk. And is there any way I could copy paste the Excel records in such datagrid?

Bulk Emailing
I need to send an email out to about 800 members of our organization once every month. I've been using a 3rd party listserver, but that's been cumbersome at best, trying to keep the two email databases in sync and all.

I know how to write an asp loop to query our database and send an email to each of the 800 recipients, but I'm not sure if this is the right approach. We have an sql-driven website that's tied in as well, so ideally what I want to do is use asp to grab some website data from the sql database, generate the email text, then cycle through our membership database sending it to each member. Is this a good method, or what would be a better approach?

CDO Attribute For Bulk Mail?
I was wondering if there was a CDOSYS attribute to mark the importance of mail messages. I'd like to set their importance to "80" so the CDO Generated messages are treated as low priority by my mail server.

I was wondering if their was an configuration attribute like the following which I could use.

ObjMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing")=2
ObjMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") ="mail.domain.com"
ObjMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport")=25
ObjMessage.Configuration.Fields.Update

Bulk Insert - .dbf File

Can we use BULK INSERT for .dbf files

Bulk Upload Of Files Using Persits
how can i upload all the files of a folder which is selected by the user using persits.upload

Creating Bulk Email Through Cdosys.dll
is it possible to rn a client side vbscript to send messages using cdo.message and cdo.configuration? what are the requirements to do this? my wks are xp and 2000 and all have cdosys.dll registered. do i have to have outlook express loaded.

i have workstations that don't have outlook but rather lotus notes and want to send email to an smtp server. these emails have local attachment thus the need to run client script versus server scripts. is this possible or am i on the wrong track.

Emails From ASP
Anyone want to give me any pointers as to how to send emails from asp?

ASP And Emails
What is the best option?Im writing a forum so i need a universal solution...
This means i cant use something like ASPEmail as not all ASP servers have this.
So what do i use? Someone suggested to me CDONTS but then said you have to set up the server or something.Do all web servers have this pre configured.

Emails From ASP
Is there any way we can send off an email from a web hosting server that does not support CDONTS and cannot register any components to their server. They have no SMTP server as well.

IS there any web site that supports any one of these for FREE or better yet is there any other way to send off an email without CDONTS and components? Is it possible to like redirect to another mail with just scripting?

Appreciate any response to this matter.

Not Receiving All Emails
I have a stored procedure which sends out an email to all the users
listed in the database. for some reasons I am not getting all emails.
could someone offere some assistance? Code:

HTML Emails With CSS Using ASP
I am using ASP to send order confirmation emails to customers. However i want the emails to appear as HTML in the emails.

I have Successfully done this but i need to know how to attach CSS to the emails, so that it can look exactly like the html page i design.

I am using the CDONTS.Newmail component with the .body attribute.

Pop3 Emails
I am working on a piece of software that needs to store email data in a SQL server table. Been flicking around and it looks like the ASP mail components are a good way to go. Basically I will be recieving mails from a pop3 server (prob outlook) and using the same program to put the data in a database.

Reminder Emails
I don't necessarily need code here, just some guidance to my thought process.

I have built a system for a hospital where users can sign up for classes that the hospital offers. Now, I want to be able to send the users a reminder email a day or so before the event/class. In the database, I have all the user's info in one table. Another table holds the registrations with keys to the user table and the key to the table that has a listing of the classes.

How do I now go about automatically looking through the class table to find out if there is a class in the next 24 hours, and then send an email to all the people registered for that class?

IIS 5 Will Not Pass Emails Or SSL
Has anyone had or heard of IIS not passing emails or SSL connections, thereby disconnecting or making the server useless?

I had a virus that seems to have done this.

Getting ASP To Send Emails
Anyone have any pointers as to how i could get asp to send some simple emails?

Tracking Emails
anyone know a good way of tracking an email so that i know if theyve been
opened? and preferably somethign where i can identify the recipient
(matching with our crm)?

Long Emails
When sending long emails a mysterious space-character is added after a
certain number of characters. Any idea why that happens?
I am using a Dundas Mailer control (if that matters) called from an asp
script.

Automated Emails
I need to send a set of Emails from my application (reminders) each month
1st. Is there anyway in ASP scripts to trigger an event to run
automatically? I have no dedicated server, so no DLLs or Scheduler scripts
can be used. Also adding the trigger script in the application object may
not send emails in time, as we have not enough visitors to that application.
Is there any way other than 'Clicking a Send button'

Send Emails
is there a way of sending emails directly from iis without using an external
SMTP service?

Auto Emails
I am in the beginning phase of a project that will require automatic email reminders to be sent out. Has anyone had any experience or suggestions that might help me get started in the right direct. My project will use the following.

ASP/VBScript/SQL Server Express

Once a record has been added the Auto Email reminders will be sent every 24 hours for the first 3 days or until the receiving party has responded to a questionnaire.

Emails Not Being Sent All The Time
I am getting a bit worried because not all of my emails are being sent/received. My customers fill out the form on the website and their details are emailed to me. I have filled out the form several times, and some of my details are not being sent. Code:

Weekly Emails
For a System I'm Creating I wish to send a weekly reminder to everyone in the database. Could you help me go about this as I dont even know where to start?

Tracking Incoming Emails
I wonder how I would go about an email tracker using ASP. I need this for the database to capture all unsubscribe requests. For instance, someone emails "unsubscribe@domain" I should be able to catch that email, get who emailed it and record that to my unsubscribe table. Also I am using a a commercial mail server (ability mail server) and not the virtual smtp server which comes along with IIS.

HTML Format Emails
I have an application which sends out emails in HTML format. I have a problem when I am trying to display images in the email (name of the image file is taken from database).

The problem is that if there is a space in the image file name, it displays a + (PLUS sign) and does not display the photo in GMAIL and other emails. The URL of the image gets displayed in the following manner:

3_Marathon+Crescent_Toronto_1.jpg+

How do I solve this + (PLUS sign) issue?

Send Emails Securely Via ASP
I've been working with ASP for 6+ years now, but in that time I've
never had any solid advice on how to build a secure system. So I
thought I'd ask here first.

Anyway, here's the situation: I have a client who wants to take credit
card information via ASP form (https) and then send the resulting
content (which may be either HTML- or text-formatted) to their email
account, which they access using Outlook (2000, I believe). I want to
build the system to make it as secure as is reasonably possible; at
the same time, they want to make it easy to read / retrieve their
signed/encrypted messages.

I know their are a lot of components out on the market that permit
programmatic encryption of data, but I don't know enough about what I
need to make an informed buying decision. I've heard that encrypting
the email content and then signing the entire message is the proper
thing to do, but how do I actually do that via code? And I definitely
don't understand how the message is handled once it reaches Outlook
(via POP, IMAP or Exchange -- they haven't decided on which yet).

My brain is full of things such as AES, MD5 + SHA-1, SSL, S/MIME and
such -- how do I put all these things together into an effective
solution?

Emails From Active Directory
I would like users on a web application to be able to select users from active directory and use their email address - in much the same way as Outlook does. How hard is this to do in asp? Would it be easier to do in .net?

I am proficient in asp but have never done this, on the other hand, I am starting to develop my .net skills.

ASP Emails Without SMTP Server?
Anyone has ideas how to send an email through ASP without having an SMTP server? I'm currently building a website which needs emails to be sent when users submits a form, however the web space provider doesn't not have an SMTP server. I'm now using CDO on my local testing server (with SMTP installed) and it works, but I just don't know how to get it working after uploading it because the remote server hasn't got SMTP on it.

Capture And React To Emails
I would like people to be able to send emails with keywords in the
subject line. I would then like my server/website/asp page to capture
the email, parse the subject and react accordingly.

Can anyone point me in the right direction?

Emails Queued Until Reboot
I have a new laptop that appears to be setup identically to the old one. I'm
working on an ASP page that sends an email. On the old machine the emails
are send just fine (CDO or CDONTS). However the new machine holds everything
in the queue folder until I reboot. After reboot, everything in the queue is
sent, but all new messages from the web page are again queued. I'm running
w2k sp4, iis 5, not using a smart host. The event viewer gives "Message
delivery to the remote domain "xxx" failed for the following reason: The
connection was dropped by the remote host.


Copyright © 2005-08 www.BigResource.com, All rights reserved