jmail问题,到底有没有问手啊,105分

qb_zhm 2001-06-13 01:20:00
jmail用做邮件列表时,邮件一多就超时,发送不出去,听说jmail有个功能是后台发送,可是我怎么都没找着,有人说是 lazysend,可是根本边这个属性都没有,不知哪位大侠还有什么好的办法。
...全文
92 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
yongwei 2001-06-13
  • 打赏
  • 举报
回复
呵呵不知你的循环是怎么作的?用Cdonts。dll组件就可以了当然jmail也可以
不过你做邮件列表时不要重复的给组件势力化,那样不行。用组件的密送功能!
这样只是一个势力化的组件就不会出现问题了:)
有问题的话发mail给我讨论yongwei@cnuninet.com
subzero 2001-06-13
  • 打赏
  • 举报
回复
jmail.lazysend=true
ashes 2001-06-13
  • 打赏
  • 举报
回复
jamil群发功能好像是专业版才有,下面是jmail的原话,买一份或crack吧 :)

w3 JMail
Note: only the Professional edition of w3 JMail includes massmailing and mail-merge.
Massmailing personalized e-mails with Dimac w3 JMail
A very common way to keep in touch with your web site visitors is to send e-mails
to them whenever you update your website. With w3 JMail mailmerge
functions you can personalize each e-mail with the recipient’s name and other
details that you have collected. Mailmerge works in the way that you first cre-ate
a template from which you create the e-mails. The template can contain
any number of merge fields which are replaced with personal information.
For example, if the following were your template:
Hi %%name%%!
You have %%ordersCount%% orders in process.
You could easily see the merge fields as they begin and end with a double
percentage mark (%).
Now let us take a look at the example. First we will create a message object
that will serve as a template for the merge:
set msgTemplate = Server.CreateObject( “JMail.Message” )
msgTemplate.Subject = “Hi %%Name%%!”
msgTemplate.Body = “Hello %%Name%%, .... bla bla...”
msgTemplate.From = “me@myDomain.com”
msgTemplate.FromName = “Mailinglist info!”
msgTemplate.AddRecipient %%EMail%%, %%Name%%
Note how we actually use merge fields in the recipient fields as well. There, our
message template is done. Next we create the mailmerge object:
set mMerge = Server.CreateObject( “JMail.MailMerge” )
mMerge.MailTemplate = msgTemplate
That was the first part, now we need a group of recipients. In this example we
use an ADO recordset, however, it is possible to do it manually if you have a list
of recipients on a file or so. It is assumed that we already have established a
connection to our SQL server and that the connection is called sqlCon.
As you see we enter our mail server address because the BulkMerge method
sends the e-mails as soon as it has merged them, thus you don’t need to use
the send() method.
The BulkMerge method can also be used in conjunction with w3 JMail’s enque
method. Just set the second parameter to TRUE, skip the last parameter and
the e-mails will be enqued, which is most often the preferred way to do it as
massmailing can be a bulky operation (hence the name BulkMerge).
As BulkMerge sends e-mails as it merges, we are finished.
MyRS = sqlCon.execute(“SELECT name, email FROM ourCustomers”)
MMerge.BulkMerge myRS, false, “mail.myDomain.com”

tonnycncn 2001-06-13
  • 打赏
  • 举报
回复
http://www.csdn.net/develop/read_article.asp?id=6538
这里有Jmail 使用范例,也许对你有帮助!
qb_zhm 2001-06-13
  • 打赏
  • 举报
回复
我原来用的是 Server.CreateObject("CDONTS.NewMail"),后来看到 Server.CreateObject("Jmail.smtpmail")也行,Jmail.smtpmail中有 lazysend,jmail.lazysend=1之后并没有什么效果发送邮件依然要超时,不知各位大侠有没有好办法了,
qb_zhm 2001-06-13
  • 打赏
  • 举报
回复
服务器只支持 jmail,我也是只给 jmail做了一次实例化发送还是不行,我有上万个邮件,有办法吗?

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧