473,385 Members | 1,843 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Multiple mail()

Jez
I need to be able to send individual personalised emails to contacts
stored in a database. I'm able to do this using mail() and a loop, but
I've read that this isn't a very good idea as there could be a few
hundred contacts.

What is the best way to go about this? Any advice or pointers in the
right direction will be greatly appreciated!

Thanks.

Jez
Jul 17 '05 #1
4 5002
On Wed, 24 Sep 2003 09:15:25 -0700, Jez wrote:
I need to be able to send individual personalised emails to contacts
stored in a database. I'm able to do this using mail() and a loop, but
I've read that this isn't a very good idea as there could be a few hundred
contacts.

What is the best way to go about this? Any advice or pointers in the right
direction will be greatly appreciated!

Thanks.

Jez

Personalised... hundreds.......... sounds like spam to me =\

Regards,

Ian

--
Ian.H [Design & Development]
digiServ Network - Web solutions
www.digiserv.net | irc.digiserv.net | forum.digiserv.net
Programming, Web design, development & hosting.

Jul 17 '05 #2
RG

"Ian.H" <ia*@WINDOZEdigiserv.net> wrote in message
news:pa****************************@hybris.digiser v.net...
On Wed, 24 Sep 2003 09:15:25 -0700, Jez wrote:
I need to be able to send individual personalised emails to contacts
stored in a database. I'm able to do this using mail() and a loop, but
I've read that this isn't a very good idea as there could be a few hundred contacts.

What is the best way to go about this? Any advice or pointers in the right direction will be greatly appreciated!

Thanks.

Jez

Personalised... hundreds.......... sounds like spam to me =\

Definate smell of pork but hey, I quite like a bit of spam sometimes.
What are your concerns Jez, overloading the server?
If you are worried about this, you could do some kind of script that does
this:
send 1 email, add a sent variable to the databse entry for that email.
Do a refresh on the script until all are sent.
This way you could put say a 5 second refresh time.

You are a considerate spammer, having concerns about your host.
Are you sure you just don;t want to get caught out???
:)
RG

Jul 17 '05 #3
Jez
"RG" <Me@NotTellingYa.com> wrote in message news:<3f***********************@mercury.nildram.ne t>...
"Ian.H" <ia*@WINDOZEdigiserv.net> wrote in message
news:pa****************************@hybris.digiser v.net...
Personalised... hundreds.......... sounds like spam to me =\

Definate smell of pork but hey, I quite like a bit of spam sometimes.
What are your concerns Jez, overloading the server?
If you are worried about this, you could do some kind of script that does
this:
send 1 email, add a sent variable to the databse entry for that email.
Do a refresh on the script until all are sent.
This way you could put say a 5 second refresh time.

You are a considerate spammer, having concerns about your host.
Are you sure you just don;t want to get caught out???
:)
RG


Promise you it's not spam. I just need a reliable way to send
personalised email to members of an association I'm involved with. The
members are actually paying to receive the email ;)

I've read somewhere that mail() wasn't intended for the kind of thing
I'm trying to achieve, but I can't find any references to a better way
with PHP.

Thanks for your suggestion.

Jez
Jul 17 '05 #4
Hello,

On 09/24/2003 12:15 PM, Jez wrote:
I need to be able to send individual personalised emails to contacts
stored in a database. I'm able to do this using mail() and a loop, but
I've read that this isn't a very good idea as there could be a few
hundred contacts.

What is the best way to go about this? Any advice or pointers in the
right direction will be greatly appreciated!


mail() is just fine for that. What is the problem is sending
personalized e-mail as it may take a long time to deliver the messages
to all recipients.

--

Regards,
Manuel Lemos

Free ready to use OOP components written in PHP
http://www.phpclasses.org/

Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing...
1
by: cemcat | last post by:
Hello, We have an ASP.NET 2.0 (C#) web form that contains a textbox for users to enter multiple e-mail addresses separated by semicolons. We need to validate that each individual e-mail address...
4
by: sck10 | last post by:
Hello, I am trying to send email to 4 people (str01 = "p1.mysite.com,p2.mysite.com,p3.mysite.com") using the following: Dim addrFrom As New MailAddress(str00) Dim addrTo As New...
5
by: Jai | last post by:
Hi, I am in a problem of sending mass emails(newsletter) to my website members. Actually my problem is this: I want to send newsletter to my website members. But I had given a facility for...
2
by: UJ | last post by:
How do you send mail to multiple users? I've got a string with e-mail addresses separated by semi colon and when I create the MailMessage doing: System.Net.Mail.MailMessage lobjMail = new...
2
by: =?Utf-8?B?cXVpbGtpbg==?= | last post by:
Hi We are using system.web.mail with .Net 1.1 (.Net 2.00 under development) and some of our users are reporting that having multiple names in the 'to' field for sending emails (using smtpmail)...
47
by: Larry Smith | last post by:
I just read a blurb in MSDN under the C++ "ref" keyword which states that: "Under the CLR object model, only public single inheritance is supported". Does this mean that no .NET class can ever...
10
by: crazycooter | last post by:
I found an old thread on this (http://groups.google.com/group/alt.php/ browse_thread/thread/751edb9c723316c4/ea9bf92a9c6b807c?lnk=gst&q=mail() +duplicate&rnum=7#ea9bf92a9c6b807c), but there didnt...
2
by: npbaker1 | last post by:
I am not able to get an e-mail sent to multiple recipients. I am using C# in VS 2003. Here is the code: MailMessage mail = new MailMessage(); mail.To =...
0
by: ramab | last post by:
hi, i'm a bit stuck here in sending emails to multiple users which i need to read from a database. With codes below, i able only to send 2 recipients. any idea how to send to multiple users? thx...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.