.NETGURU
How to send Bulk Newletters
Messages   Related Types
This message was discovered on ASPFriends.com 'ngfx-mail' list.


Jigs
-- Moved from [aspngstart] to [ngfx-mail] by Charles Carroll <Click here to reveal e-mail address> --

I am writting a .asp/.aspx program to send newsletter to (n) subscribers,
one at a time ( don't want to use BCC or CC fields )
I was wondering if there are 2000 subscribers or more will asp page be able
execute for such a long time ?

So how programs are written to send newsletters , is it simple .asp/.aspx
programs or some other stuff also. Pls Guide with your comments and URLs.

Regards
Jigs

__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

Reply to this message...
 
    
Jason Salas
Hi Jigs,

I've found that writing a simple script which reads from a column in a
database table and then loops through a collection of e-mail addresses in a
database table, using CDO's MailMessage class.

You're on the right track...it might be easier to write a script which sends
one copy of each message to each recipient in the mailing list...instead of
BCC'ing or CC'ing each one. You can then personalize your mailings this
way. Different SMTP servers on the distant end may not accept e-mail
messages with too many recipients in a field. This way, your own SMTP
server shoulders the majority of the work, and then sends your message out
cleanly to your distribution list.

Here's some code to help you do this...assuming you have a DB with an
"Email" column.

' do DB connection stuff prior to this code, and instantiate a DataReader
object, named objDataReader
Dim objMailMessage as MailMessage
objMailMessage = New MailMessage
objMailMessage.From = "Click here to reveal e-mail address"
objMailMessage.Subject = "Hello world!"
objMailMessage.Priority = MailPriority.Low
objMailMessage.Bcc = "Click here to reveal e-mail address"
objMailMessage.Body = "This is my body...it is a temple!"
objMailMessage.BodyFormat = MailFormat.HTML
Do While objDataReader.Read()
objMailMessage.To = objDataReader("Email")
SmtpMail.SmtpServer = "localhost" ' This is a new mandate for
.NET V1
SmtpMail.Send( objMailMessage )
Loop

However, just note that I've personally only used this to send out e-mail to
a few hundred recipients at the same time...I haven't scaled it for a
mailing list of 30,000 recipients.

You can e-mail me outside of this thread at Click here to reveal e-mail address if you'd like the
full sample as an .ASPX page, and I'll send the VB.NET source code to you.

Have fun!

Jason

---------------------------------------------------
Jason Salas
Web Development Manager
Pacific Telestations, Inc. (dba, "KUAM")
URL: http://www.kuam.com
President, .NET User Group of Guam
URL: http://www.guam-asp.net
Mailto: Click here to reveal e-mail address

----- Original Message -----
From: "Jigs" <Click here to reveal e-mail address>
To: "ngfx-mail" <Click here to reveal e-mail address>
Sent: Thursday, March 07, 2002 4:53 PM
Subject: [ngfx-mail] How to send Bulk Newletters

> -- Moved from [aspngstart] to [ngfx-mail] by Charles Carroll
<Click here to reveal e-mail address> --
[Original message clipped]

Reply to this message...
 
    
Mark Runyon
I just finished writing a ListServer application in ASP.NET and it seems to
handle large mailings very smoothly. It is processing messages to 1600
recipients (individually sent) with attachments in about a minute and a
half. The only issue I had in building it was something in the underlying
CDO was mangling certain attachments so I'm using a third party component
called AspEmail which I've been very happy with. As far as writing the
script, you would take your standard mail script enclose it in a recordset
query loop that supplies the email addresses and any personalized content to
build the message.

-Mark

[Original message clipped]

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

Reply to this message...
 
 
System.Web.Mail.MailFormat
System.Web.Mail.MailMessage
System.Web.Mail.MailPriority
System.Web.Mail.SmtpMail




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification