473,770 Members | 1,644 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Send mail to multiple address

I have a very big problem.
I must send a single mail to multiple receivers. The number of
receivers are very big: approximately 6000 users, but this number
increase each year.
I find a lot of suggestion: insert all e-mail address (or part of them)
in the field BCC.
But I use a hosting server, for this reason I don't know if this
solutions is possible.
I can use my computer, but I don't know is SMTP of my ISP can support
this kind of feature.
Anyone did have the same problem? Can I resolve it?
Sorry if my English is not very good.
Mattia

Dec 13 '05 #1
14 3753
Mattia wrote:
I find a lot of suggestion: insert all e-mail address (or part of
them) in the field BCC.
But I use a hosting server, for this reason I don't know if this
solutions is possible.

BCC shouldn't be the problem, as it's part of the protocol, but you might
want to ask your hosting provider if they support bulk mailings.
I can use my computer, but I don't know is SMTP of my ISP can support
this kind of feature.


So, ask your ISP if they do. If nothing works out, an option would be to
divide your mailings into smaller batches and send those batches with a
delay.
JW
Dec 13 '05 #2
>I have a very big problem.
I must send a single mail to multiple receivers. The number of
receivers are very big: approximately 6000 users, but this number
increase each year.
I find a lot of suggestion: insert all e-mail address (or part of them)
in the field BCC.
SMTP is supposed to support a minimum of 50 addresses for a given
message. It is not guaranteed to go higher than that. Although
SPAM filters and hosting servers may not honor that, it's a good
start. Some UNIX servers may not honor a command-line length longer
than 10K or 20K, which will be violated with 6000 users.
But I use a hosting server, for this reason I don't know if this
solutions is possible.
I can use my computer, but I don't know is SMTP of my ISP can support
this kind of feature.
Anyone did have the same problem? Can I resolve it?


Try testing it. This is really the only way to be sure.

Note that your host may not be the only one enforcing limits. If,
for example, you send to 1,000 addressees, your host might accept
that, but if there's 60 in that batch going to sol.com, sol.com's
server might refuse it for too many addressees.

Gordon L. Burditt
Dec 13 '05 #3
BCC is often not a good thing, as servers might refuse the mails or tag them
as SPAM.
I use a php script with a loop sending the mails one by one.
I use phpMimeMail (from http://www.phpguru.net) to create and send the mail
(many features and versions for php4 or php5).
The email adresses are stored in a mysql table.
Each time a mail is correctly sent, I write it in the database.
And I stop as soon as there is an error.
Then I can decide to loop over all the users who I didn't send the mail to
or to loop over them 100 by 100 or 500 by 500.
Each time I run the script it sends the mail only to users who did not
receive it, until there are no more users.

On a dedicated server, I can send 5000 mail in one loop using
set_time_limit( 0);
On a shared server, I send them rather 100 by 100.

BLob
Dec 14 '05 #4
go***********@b urditt.org (Gordon Burditt) wrote:
I have a very big problem.
I must send a single mail to multiple receivers. The number of
receivers are very big: approximately 6000 users, but this number
increase each year.
I find a lot of suggestion: insert all e-mail address (or part of them)
in the field BCC.
SMTP is supposed to support a minimum of 50 addresses for a given
message. It is not guaranteed to go higher than that.


Where did you read that? Wherever it was, I wouldn't trust anything else
that it says. RFC2821 clearly says:

The second step in the procedure is the RCPT command.
RCPT TO:<forward-path> [ SP <rcpt-parameters> ] <CRLF>
...
This step of the procedure can be repeated any number of times.
Some UNIX servers may not honor a command-line length longer
than 10K or 20K, which will be violated with 6000 users.
This has absolutely nothing to do with command lines.
Note that your host may not be the only one enforcing limits. If,
for example, you send to 1,000 addressees, your host might accept
that, but if there's 60 in that batch going to sol.com, sol.com's
server might refuse it for too many addressees.


If they do so, they are violating RFC2821.
--
- Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Dec 16 '05 #5
"BLob" <bl**@nospam.in valid> wrote:

BCC is often not a good thing, as servers might refuse the mails or tag them
as SPAM.


That's nonsense, too. Most mailing lists are sent out with a single "To:
Mailing List Recipients" in the body, with all of the recipient names
blind.

There is clearly a lot of mistaken "general knowledge" about SMTP.
--
- Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Dec 16 '05 #6
On Wed, 14 Dec 2005 12:10:49 +0100, "BLob" <bl**@nospam.in valid>
wrote:
BCC is often not a good thing, as servers might refuse the mails or tag them
as SPAM.
I use a php script with a loop sending the mails one by one.
I use phpMimeMail (from http://www.phpguru.net)


Full URL please.
--
Locate your Mobile phone: <http://www.bizorg.co.u k/news.html>
Great gifts: <http://www.ThisBritain .com/ASOS_popup.html >
Dec 16 '05 #7
Sorry, my mistake about the URL, it was not phpguru.net but phpguru.org.
Here is the full URL : http://www.phpguru.org/static/mime.mail.html

Sincerely,

BLob
Dec 16 '05 #8

"Tim Roberts" <ti**@probo.com > a écrit dans le message de news:
aa************* *************** ****@4ax.com...
"BLob" <bl**@nospam.in valid> wrote:

BCC is often not a good thing, as servers might refuse the mails or tag themas SPAM.


That's nonsense, too. Most mailing lists are sent out with a single "To:
Mailing List Recipients" in the body, with all of the recipient names
blind.

There is clearly a lot of mistaken "general knowledge" about SMTP.


I really thought that for many spam filters, a mail sent to you when your
email address doesn't appear either in the To: field or in the Cc: field has
more chance to be tagged as a spam than when your email address appears in
one of these fields. That's what my mail servers administrator told me
severall times. Please tell me if I am wrong (and if I should change the
administrator of my servers). I am honestly interested by this matter.

Thanks,

BLob
Dec 16 '05 #9
"Tim Roberts" <ti**@probo.com > a écrit dans le message de news:
aa************* *************** ****@4ax.com...
"BLob" <bl**@nospam.in valid> wrote:

BCC is often not a good thing, as servers might refuse the mails or tag themas SPAM.


That's nonsense, too. Most mailing lists are sent out with a single "To:
Mailing List Recipients" in the body, with all of the recipient names
blind.


That is why most mailing lists servers are tagged as spam when I receive
them.

Then again, most GOOD mailing lists servers send lists and newsletters with
To: yo************* @example.com and not with all recipient names in Bcc:
field (for example I think Sympa - www.sympa.org - is a good mailing lists
server). Why would they do so if there was no reason for it ?

BLob
Dec 16 '05 #10

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

Similar topics

9
1687
by: dthmtlgod | last post by:
I am having an e-mail being sent from a form submitting on a web page. Right now, it is just a generic name (not a valid e-mail address) in the Mail From box. "Web Server Request". How can I add a reply to piece to this, so when a user clicks on Reply, it sends it to a valid e-mail address. Thank you
6
11187
by: DigitalRick | last post by:
I have been running CDONTS in my ASPpages to send emails to me sent from my guestbook. It had been working fine untill I upgraded to Server 2003 (I am also running Exchange 2003) all locally. I will include the code I originally used. I understand I should switch from CDONTS to CDO mail but after several sttempts I am finding a very hard time getting the new CDO mail to work properly. Any assistance with this would be greatly...
3
3036
by: RN | last post by:
I am tired of sending mail from the built-in SMTP service for so many reasons (errors are nondescriptive in the event log, it doesn't let me control which IP address it sends from, and it identifies itself as the computer name which is not in domain.com format, triggering spam filter problems). Instead, I want to have my code send through an SMTP server of a company that we pay for mail service. But they require a username and password....
4
2367
by: Max | last post by:
hi I am using System.Web.Mail.MailMessage with System.Web.Mail.SmtpMail to send mail. now the my question is, Is it compulsory to add fields smtpauthenticate, sendusername and sendpassword fields to MailMessage Object????. mm.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1")
3
4701
by: sentiboy | last post by:
I am using the following code for sending email through mapi in VS 2005 environment: Public objSession As New MSMAPI.MAPISession Public objMessage As New MSMAPI.MAPIMessages objSession.DownLoadMail = False objSession.UserName = "MyUsername" objSession.Password = "MyPassword" objSession.SignOn()
10
3362
by: Logipro | last post by:
Hi, Can it's possible to send a local Web page (HTML) (with pictures) by Outlook, OE, MAPI or Jmail, simply by pass a Html path files ? I try many many tips like replace "cid:" before image in HTML but the picture was never embeded in the message. Simply like this : SendHTMLMail("C:\MyDoc.html")
6
6899
by: Harshpandya | last post by:
Hi all, I am working on the form in which you fill out the whole PHP form and e mail that details to someone. It is working fine. But now i want to send the same form to be sent to different people and user should be able choose the check boxes to whom they want to send e mail to. I write some code simple If else conditions but i think i am making some mistakes. Because when i tried - it is not sending them e mails. Here is my code. I...
2
2491
by: kennykenn | last post by:
Hi, Ive producd code to send an email after capturing info off a form,it works fine locally but when i put it live it doesnt work! the code is stopin at 'msg.send' any ideas, here the code! <%
2
2073
by: upendrajpr | last post by:
Dear friends I am sending mail from my site but it gives me some error "Warning: mail() : "sendmail_from" not set in php.ini or custom "From:" header missing in C:\P............." my code is this
1
3208
by: deepaks85 | last post by:
Dear All, I want to send some data through a form with Multiple attachment in an HTML Format. I have tried it but it is not working for me. I am able to send data without attachment but with the code for attachment, I am not able to send anything. I get blank email. Can you please help me on this? Here is the html form:
0
9432
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10232
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10008
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8891
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7420
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5313
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5454
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3974
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3578
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.