473,785 Members | 2,298 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
14 3754
> 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 ?


Well, I checked and I am wrong: my address doesn't appear in the To: field
in newsletters I received from Sympa.

Sorry,

BLob
Dec 16 '05 #11
On Fri, 16 Dec 2005 08:05:21 GMT, Tim Roberts <ti**@probo.com > wrote:
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.


Perhaps the previous poster is misquoting RFC2821 sec. 4.5.3.1 "Size limits
and minimums":

" recipients buffer
The minimum total number of recipients that must be buffered is
100 recipients. Rejection of messages (for excessive recipients)
with fewer than 100 RCPT commands is a violation of this
specification. The general principle that relaying SMTP servers
MUST NOT, and delivery SMTP servers SHOULD NOT, perform validation
tests on message headers suggests that rejecting a message based
on the total number of recipients shown in header fields is to be
discouraged. A server which imposes a limit on the number of
recipients MUST behave in an orderly fashion, such as to reject
additional addresses over its limit rather than silently
discarding addresses previously accepted. A client that needs to
deliver a message containing over 100 RCPT commands SHOULD be
prepared to transmit in 100-recipient "chunks" if the server
declines to accept more than 100 recipients in a single message."
--
Andy Hassall :: an**@andyh.co.u k :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Dec 16 '05 #12
On Fri, 16 Dec 2005 15:47:26 +0100, "BLob" <bl**@nospam.in valid>
wrote:
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

Thanks.

--
Locate your Mobile phone: <http://www.bizorg.co.u k/news.html>
Great gifts: <http://www.ThisBritain .com/ASOS_popup.html >
Dec 17 '05 #13
On Wed, 14 Dec 2005 12:10:49 +0100, BLob wrote:
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.


Blob - I also loop through (and in batches) ... but your idea of
flagging an address as "sent/OK" is a good one - many thanks.

Invaluable for those awful early testing stages of a mail-out when you
(embarassingly) send to some users more than once ;-)

Adam.
Mar 7 '06 #14
Do you mind if I ask where you are hosting that will let you send out that
many emails? I have been looking for a solution for some time....

Thanks,

Peter

"Adam" <an**@nowhere.c om> wrote in message
news:8c******** *************** *********@4ax.c om...
On Wed, 14 Dec 2005 12:10:49 +0100, BLob wrote:
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.


Blob - I also loop through (and in batches) ... but your idea of
flagging an address as "sent/OK" is a good one - many thanks.

Invaluable for those awful early testing stages of a mail-out when you
(embarassingly) send to some users more than once ;-)

Adam.

Mar 7 '06 #15

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
11188
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
4705
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
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10155
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10095
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
9954
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7502
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
6741
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5513
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4054
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
3
2881
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.