[Zope] how to get email delivery errors

Dieter Maurer dieter@handshake.de
Wed, 28 Jun 2000 22:26:27 +0200 (CEST)


Ben Leslie writes:
 > On Tue, 27 Jun 2000, Dan Rusch wrote:
 > 
 > > Our site allows supervisors to email orders back to sales reps. We have
 > > this working very well. The problem is if the supervisor types in an
 > > non-existant email address we aren't getting Mail System Error -
 > > Returned Mail messages like you would from other email apps such as
 > > Netscape Messenger. Does anyone know how to accomplish this.
 > > 
 > > Thanks,
 > >  DR
 > 
 > 
 > AFAIK Returned Mail messages are generated by the SMTP server, not by the
 > email client application. 
I do not think so.
If an SMTP server detects a problem, it rejects the SMTP request.
If the requester is an SMTP server, it sends an error message
back.
If the requester is something different, e.g. a Zope sendmail tag,
it must do something about the problem -- e.g. raise an exception.


Dieter