[Zope-dev] Help with Sendmail Mail!

Simon Michael simon@joyful.com
02 Nov 1999 07:57:10 -0800


Victor.Zhai@ogilvy.com writes:
>     To: Feedback Recipient <cosix@tonghua.com.cn>
>     From: Zope Feedback Form <zgxbj@yahoo.com>

Does it work if you use:
>     To: cosix@tonghua.com.cn
>     From: zgxbj@yahoo.com

?

I think the sendmail tag is a bit fragile in 2.0. If I remember
correctly it ignored the subject header too - add a 

        body='Subject: ' + subj + '\n' + body

to SendMail.send() in MailHost.py

Also, if possible test against an smtp server where you can access the
logs - this will help figure out what's going on.