[Zope] Silly send mail problem

Phil Harris phil.harris@zope.co.uk
Thu, 27 Jul 2000 09:04:45 +0100


When using the dtml-sendmail tag you need to structure it like this:

<dtml-sendmail
smtphost="mail.xyz.com"
mailto="wai@xyz.com"
mailfrom="wai@xyz.com"
Subject="Testing from my machine">
To: wai@xyz.com
From: wai@xyz.com
Subject: Testing from my machine

mail body
</dtml-sendmail>

hth

Phil
phil.harris@zope.co.uk



----- Original Message -----
From: "Brad Moulton" <brad@netarchitects.com.au>
To: <wai@mahirnet.com>
Cc: <zope@zope.org>
Sent: Thursday, July 27, 2000 7:23 AM
Subject: Re: [Zope] Silly send mail problem


> On Thu, 27 Jul 2000, you wrote:
> > Hi all,
> >
> > I had a sendmail problem, whenever I send out a mail from zope, it
always
> > contain an empty "To" ,"From" and "Subject", but I was able to get the
body
> > of the mail, anyone got this problem before ??
> Sorry this is probably not much help but may be related
> I recieve lets say one or three in a hundred emails from the zope mailing
list
> that have the same symptoms
> ie they arrive with No Subject, To or From
> but the body contains the question or answer posted ?
>
> >
>
> > I'm using Zope 2.1.6 on NT and the mail server is from Lotus, and the
form
> > processor syntax as below :
> >
> > <dtml-sendmail
> > smtphost="mail.xyz.com"
> > mailto="wai@xyz.com"
> > mailfrom="wai@xyz.com"
> > Subject="Testing from my machine">
> >
> > mail body
> > </dtml-sendmail>
> >
> > Thanks.
> >
> > Cheers
> >
> > Wai
> >
> >
> > _______________________________________________
> > 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 )
>
> _______________________________________________
> 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 )