The change in the sendmail tag to use the SMTP module has caused a
problem for me when sending to a qmail mailserver.
After investigation, it would appear that the smtplib module function:
SMTP.mail(self,sender,options=[]):
appends a space to the end of the FROM: address when there are no
options. The offending line is:
self.putcmd("mail", "FROM:%s %s" % (quoteaddr(sender) ,optionlist))
This space upsets the qmail server which response with
SMTPSenderRefused.
A quick fix is to remove this space and home that no optionlist is
ever past. A more permanent fix to smtplib would seem in order.
Richard
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
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 )