----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 27, 2000 4:56 AM
Subject: [Zope] Silly send mail problem


> 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 ??

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


Wrong sintax... the right one is:

<dtml-sendmail smtphost="mail.xyz.com">
To: destinationemail
From: your email
Subject: your subject
Date: <dtml-var ZopeTime fmt=rfc822>

mail body

</dtml-sendmail>


=====
Hugo Ramos - [EMAIL PROTECTED]
ZopersORG - http://www.zopers.org
=====
Do not meddle in the affairs of programmers, for they are easy to annoy,
and have all the source code!!!


_______________________________________________
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