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 ?? 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
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 )
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 )
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
----- Original Message ----- From: <wai@mahirnet.com> To: <zope@zope.org> 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="wai@xyz.com" mailfrom="wai@xyz.com" 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 - hugo@zopers.org 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!!!
No, it's a SQL error:
sql.error: ('08S01', 0, '[Microsoft][ODBC SQL Server Driver]Communication link failure')
Looks like your ODBC driver can't connect to the DB. Either the DB is down or your data source has changed for some reason. I'm just guessing though. chas
Is this a PCGI problem ?? The database server is running O.K. when I got this error.
Please help.
<snip>
File d:\Program Files\MyUni\lib\python\Products\ZODBCDA\db.py, line 198, in query sql.error: ('08S01', 0, '[Microsoft][ODBC SQL Server Driver]Communication link failure')
-->
No, this is not a PCGI problem - it looks like your ODBC connection is going away (timing out?). Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com
participants (7)
-
Brad Moulton -
Brian Lloyd -
chas -
Hugo Ramos -
Phil Harris -
Tony McDonald -
wai@mahirnet.com