海量邮件 [英] massive email

查看:111
本文介绍了海量邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我正在尝试在php中创建一个简报应用程序(使用mail())。

此应用程序应该看起来在MySQL数据库中生成一个

的电子邮件和名字列表。

然后它应该发送一个html格式的消息。

理论,我知道该怎么做,但是hic是......有大约30 000名会员的b $ b。

所以每次尝试时我都会遇到不同类型的错误。

喜欢500内部服务器错误,

或页面将永远加载,实际上并不是一切,

或我会得到致命错误:允许的内存大小为8388608字节

耗尽(null):0(试图分配129字节) ...


我尝试在循环中发送多个mail()函数(我希望b $ b更喜欢的方式),并且只有一个mail()函数与整个昏迷分开的

电子邮件列表。


有没有简单的方法发送大量电子邮件?

请帮忙。


谢谢,

Nathan

Hi,

I''m trying to make a newsletter application in php (using mail() ).
This application is supposed to look in a MySQL database and generate a
list of emails and first names.
Then it should send an html formated message.
In the theory, I know how to do that, but the hic is ... There are
about 30 000 members.
So I get different kind of errors everytime I try something.
Like 500 Internal Server Error,
or the page would load forever and actually not do everything,
or I would get "Fatal error: Allowed memory size of 8388608 bytes
exhausted at (null):0 (tried to allocate 129 bytes)" ...

I tried both my sending multiple mail() functions in a loop (the way i
prefer), and only one mail() function with the whole coma-separated
list of emails.

Is there an easy way to send massive email?
Please help.

Thank You,

Nathan

推荐答案

您好,


我从来没有写过发送如此大批量电子邮件的申请,

但我可能会有所帮助。由于脚本需要花费一些时间才能运行,因此它不适合基于Web的脚本。相反,我将
创建一个脚本(仍然可以用PHP编写),它独立于Web服务器(例如,apache)运行

,所以你不会有

担心超时等问题。对于测试这个问题,shell访问会非常有用。


我会打电话给邮件( )每个电话都有一个电子邮件地址,而不是一个大的

以逗号分隔的列表。


希望有大量电子邮件特定经验的人可以提供帮助

更多信息。


Mark Aardsma

Hello,

I''ve never written an application to send such large batches of email,
but I may be of some help. Since the script is going to take some time
to run, it''s not a good candidate for a web-based script. Instead, I
would create a script (could still be written in PHP) that runs
independently of the web server (e.g., apache) so you won''t have to
worry about timeouts, etc. Shell access would be very helpful for
testing this.

I would call mail() with one email address per call, not a large
comma-separated list.

Hopefully someone with specific experience with mass emailing can help
more here.

Mark Aardsma


我注意到Message-ID:

< 11 ********************** @ z14g2000cwz.googlegroups .com>来自nasht

包含以下内容:
I noticed that Message-ID:
<11**********************@z14g2000cwz.googlegroups .com> from nasht
contained the following:
然后它应该发送一个html格式的消息。
Then it should send an html formated message.




好。那将'确保它与我一起快速击中钻头。

-

Geoff Berrow(把猫放到电子邮件中)

它只是Usenet,没有人死。

我的意见,而不是委员会的,我的。

简单的RFD http://www.ckdog.co.uk/rfdmaker/


文章< 11 ********************** @ f14g2000cwb.googlegroups .com>,
ma ** @ aatechservices.com 说...
In article <11**********************@f14g2000cwb.googlegroups .com>,
ma**@aatechservices.com says...
我从未编写过发送此类大批量电子邮件的应用程序,
但我可能会有所帮助。
I''ve never written an application to send such large batches of email,
but I may be of some help.




我不知道是否有人提到过,但发送大量电子邮件

很可能会让发件人黑名单或让他们的帐户被他们的提供商拉扯。我知道从非营利教会发送2500封
电子邮件的情况,以及提供电子邮件

地址的人,他们的服务已断开连接。


-

-
sp ** *******@rrohio.com

(删除999回复我)



I don''t know if it''s been mentioned, but sending LARGE batches of email
is very likely to get the sender black-listed or have their account
yanked by their provider. I know of instances where sending just 2500
emails, from a non-profit church, to people that provided their email
address, got their service disconnected.

--
--
sp*********@rrohio.com
(Remove 999 to reply to me)


这篇关于海量邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆