Re: [Zope] MailHost: bcc broken ?
"Stefan H. Holek" wrote: On Wed, 25 Oct 2000, Gregory Haley wrote: i was one of the participants in the recent discussion of zope bulk mail. i'm wondering about the mechanics of sending the work of the mail to the actual sendmail server outside of zope. would i do that by creating an external method which is program/script that accepts the data from zope and then passes them to the mail server? any suggestions or details would be most appreciated. got me ;) I have not done this myself (yet), and I have firtshand knowledge of majordomo list management only. but I could think of something like this: a) very simple create a mailing list in your listmanager and have zope send the email to the list's address. voila, the rest is taken care of by the listmanager. b) a bit more involved if your addressee list changes (you create it on the fly with zope somehow) you could pass that list to the listmanager before sending email to it. in majordomo, a mailing list is simply a textfile containing a line for each subscriber's email address. make an external function to create that file and proceed like in a). HTH, Stefan i've been thinking about bulk mailing in zope recently, one easy thing to do is to change MailHost to use a persistent mail connection (i've already submitted this as a patch to the Collector, if you're interested email me), this should provide some marginal improvements. Another method that should increase both speed and reliability is to directly inject the mail into a relay smtp server's mail queue. this is definitely mail server dependent but offers the greatest performance gains and is capable of scaling and greater reliabiltiy (dependent on mailserver). usings lists is a valid solution but it doesn't get at the core question of how to send more mail messages from zope quickly and reliably. cheers kapil ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] MailHost: bcc broken ?
Zope bulk mailing has recently been discussed here and the general opinion was to avoid it. Zope is just not a bulk mailer. Look into e.g. mailman and hand off the task. Stefan On Tue, 24 Oct 2000, Holger Lehmann wrote: I can send single email with one recipient without problems. I need to use a bcc: for about 4000 users. No way doing that halfway performant with a dtml-in ... /dtml-in statement. I am thinking of the bcc: user1, user2, user3 user4000 header. It ought to get parsed in the MailHost product and sent directly to the proper smtp-host ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] MailHost: bcc broken ?
Hi all, I wanted to use bcc in a mail generated though a dtml-sendmail.../dtml-sendmail (Included in MailHost) tag. But it did not work. All I got was a junk line like this: subject: foo barbcc: user1, user2, user3 mark the missing carriage return and/or line feed between the subject and the bcc line. Anyone got any ideas ? - Holger -- --- catWorkX GmbH Hamburg Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel: +49 40 890 646-0 Fax: +49 40 890 646-66 mailto:[EMAIL PROTECTED] http://www.catworkx.de http://www.catbridge.de ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] MailHost: bcc broken ?
Hi, Im using this: dtml-sendmail smtphost="mail.host" port="25" To: dtml-var email From: dtml-var emailfrom Subject: dtml-var subject Hi, blah blah /dtml-sendmail Im supposing that the double brackets is due to the fact that the email address itself is encapsulated with brackets as well as the variable being passsed. Cheers, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] MailHost: bcc broken ?
Hi Paul, Thanks for that response, but . I can send single email with one recipient without problems. I need to use a bcc: for about 4000 users. No way doing that halfway performant with a dtml-in ... /dtml-in statement. I am thinking of the bcc: user1, user2, user3 user4000 header. It ought to get parsed in the MailHost product and sent directly to the proper smtp-host Holger Am Dienstag, 24. Oktober 2000 18:16 schrieb Paul Zwarts: Hi, Im using this: dtml-sendmail smtphost="mail.host" port="25" To: dtml-var email From: dtml-var emailfrom Subject: dtml-var subject Hi, blah blah /dtml-sendmail Im supposing that the double brackets is due to the fact that the email address itself is encapsulated with brackets as well as the variable being passsed. Cheers, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) -- --- catWorkX GmbH Hamburg Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel: +49 40 890 646-0 Fax: +49 40 890 646-66 mailto:[EMAIL PROTECTED] http://www.catworkx.de http://www.catbridge.de ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )