[Zope-dev] What to do when one mail recipient fails out of several?

Trevor Toenjes zope@toenjes.com
Thu, 15 Nov 2001 08:06:44 -0500


I like the idea of having this capability.
Having the option to integrate it into sendmail or as a standalone scrubber
would be ideal.  Could this become a product?

Next week I get a new list of 500 emails that has never been tested. I would
like to do an SMTP handshake(without sending) to verify the
domains/addresses that will accept the emails, and remove the addresses that
fail.  This makes bounce management much cleaner and lowers overhead when
you actually send the messages.
-Trevor

> -----Original Message-----
> From: zope-dev-admin@zope.org [mailto:zope-dev-admin@zope.org]On Behalf
> Of Lennart Regebro
> Sent: Thursday, November 15, 2001 7:38 AM
> To: Andreas Jung; zope-dev@zope.org
> Subject: Re: [Zope-dev] What to do when one mail recipient fails out of
> several?
>
>
> Hmm, thats true... But in this case it doesn't accept it for delivery, and
> the sender doesn't get to know that either.
> I realized that in most cases it's not a problem, since mostly MailHost is
> used to send mailforms to a specific set of recipients, and then you don't
> want to tell the website visitor that one address didn't work, as long as
> another one did.
>
> So maybe it's not much of a problem. I still don't like it
> though, which is
> why I'd like the option of selecting the behaviour. :-)
>
> ----- Original Message -----
> From: "Andreas Jung" <andreas@andreas-jung.com>
> To: "Lennart Regebro" <lennart@regebro.nu>; <zope-dev@zope.org>
> Sent: Thursday, November 15, 2001 1:08 PM
> Subject: Re: [Zope-dev] What to do when one mail recipient fails out of
> several?
>
> > This approach makes no sense. Email uses the store-and-forward
> principle.
> > This means your local mailserver could accept the delivery but it can
> > never guarantee you that the mail is really delivered to the recipients.
> > It can only confirm that it accepts the email for delivery and nothing
> > else.
> >
> > Andreas
> >
> > ----- Original Message -----
> > From: "Lennart Regebro" <lennart@regebro.nu>
> >
> > > My thought about how to solve this is to make an addition to
> > > smtplib.SMTP.sendmail(), an new parameter "stopOnRcptErr" or
> something,
> > > that defaults to "False", which gives todays functionality. MailHost
> > > could then call smtplib.SMTP.sendmail with stopOnRcptErr=True, which
> > > would then raise a SMTPSenderRefused error if any of the recipients
> > > fail.
>
>
>
>
>
>
>
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )