[Zope] mailhost problem
Charlie Reiman
creiman@kefta.com
Thu, 29 Aug 2002 09:21:48 -0700
I use something like this:
container.MailHost.send(msg, "youthere@someplace.com", "mehere@myhome.com")
Then I tack the subject as the first line in the message, followed by the
obligatory blank line:
------
Subject: Giraffes In Modern America
Giraffes, often being confused with their shorter cousins, the sheep, ...
------
This works for me. I never specified an encoding as I don't need one. Maybe
if you just tack a blank line on the top of your message body, and make sure
there aren't any in your other parameters?
> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Drew
> Nichols
> Sent: Wednesday, August 28, 2002 10:33 PM
> To: zope@zope.org
> Subject: [Zope] mailhost problem
>
>
> Using mailhost.send ('message', 'to@email.com', 'from@email.net',
> 'subject', 'anyEncoding')
> screws up the mail headers by putting 'message' in between subject: and
> content-transfer-encoding:
>
> is it just me??
>
> using qmail on rh linux
>
>
>
> From - Thu Aug 29 15:25:45 2002
> X-UIDL: 1030598756.29660.bunya.mena.org.au
> X-Mozilla-Status: 0001
> X-Mozilla-Status2: 00000000
> Return-Path: <webmaster@mena.org.au>
> Delivered-To: mena_org-drew@mena.org.au
> Received: (qmail 29657 invoked from network); 29 Aug 2002 05:25:56 -0000
> Received: from localhost (HELO bunya.mena.org.au) (127.0.0.1)
> by localhost with SMTP; 29 Aug 2002 05:25:56 -0000
> subject: New submission
> New submission
> http://zope.mena.org.au/submission/Submission.20020829-152556
> Content-Transfer-Encoding: 8bit
> Mime-Version:
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>