[Zope] Re: MailHost under Zope 2.6.1
Mon, 31 Mar 2003 18:11:10 +0200
Andreas Tille wrote:
> Regarding to Zope-Book, Appendix B:
> send(messageText, mto=None, mfrom=None, subject=None, encode=None)
> The body which should be sended is just 'Hello'.
Well, it works for me...
> BTW, it's not really clear why the mto parameter is optional ...
Well, because you can put it into the message instead.
The send() method will complain if you don't have an mto, cc or bcc
header either in the message or the parameters. The parameters will by
the way always override anything set in the message.