[Zope] Silly send mail problem

Tony McDonald tony.mcdonald@ncl.ac.uk
Thu, 27 Jul 2000 09:31:46 +0100


At 9:04 am +0100 27/7/00, Phil Harris wrote:
>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


...and make sure you *don't* put any spaces before the Subject:, To:, 
From: and Subject: lines, ie have them hard up against the LHS of the 
textarea box. In other words, for the sendmail tag, whitespace (or 
rather the lack of it) *is* important.

hth
tone
------
Dr Tony McDonald,  FMCC, Networked Learning Environments Project 
http://nle.ncl.ac.uk/
The Medical School, Newcastle University Tel: +44 191 222 5888
Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2