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

<dtml-sendmail
smtphost="mail.xyz.com"
mailto="[EMAIL PROTECTED]"
mailfrom="[EMAIL PROTECTED]"
Subject="Testing from my machine">
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Subject: Testing from my machine

mail body
</dtml-sendmail>

hth

Phil
[EMAIL PROTECTED]



----- Original Message -----
From: "Brad Moulton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
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="[EMAIL PROTECTED]"
> > mailfrom="[EMAIL PROTECTED]"
> > Subject="Testing from my machine">
> >
> > mail body
> > </dtml-sendmail>
> >
> > Thanks.
> >
> > Cheers
> >
> > Wai
> >
> >
> > _______________________________________________
> > Zope maillist  -  [EMAIL PROTECTED]
> > 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  -  [EMAIL PROTECTED]
> 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  -  [EMAIL PROTECTED]
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 )

Reply via email to