[Zope] (no subject)
Suhail Murtaza
suhail@morelinux.com
Sat, 16 Sep 2000 07:18:31 +0000 (GMT)
hi everbody....
I am trying to make the sendmail work from last two days.
Tried every possible way n all the help i could find on the
internet but was unsuccessful..
I tried two syntax(which i hve given below>...while first one does send the mail butwith subject,to and body field blank and the other simply doesnt work and gives the SMTP error of "domain name reqd">> and i hve
configured the the MailHost3 properly......so think that i hve
the problem with sendmail syntax.Also checked for the blank spaces
and everyother possibity..but alaaas!!
the codes i hve used is below......(these i have copied directly from
dtmlmethods i am using)
1>>>#######################################################
<dtml-var standard_html_header>
<dtml-sendmail
mailhost="MailHost3"
mailto="vikas <suhail@morelinux.com>"
mailfrom="suhail <suhail@morelinux.com>" >
Subject="<A new Snippet has been added to ZDP !>"
Dear Rik !
Under the following URL, a Snippet has been added:
Have a nice day,
</dtml-sendmail>
ur mail has been send
<dtml-var standard_html_footer>
##################################################
this just sends the comletey blank mail....
I also used "subject" outside like(subject: ----).but it too didnt work.
Second syntax i used is ........
********************************************************
<dtml-var standard_html_header>
<dtml-sendmail smtphost="hostname">
To:suhail@morelinux.com
From:vikas123@morelinux.com
Subject: A new test !
Dear suhail !
Under the following URL, a Snippet has been added:
Have a nice day,
</dtml-sendmail>
<dtml-var standard_html_footer>
*********************************************************
This way it is throwing an dtml method exception that
domain name not specified....
the error message it gives is as follows......
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
An exception occurred in a DTML method or document.
Error type: SMTP Error
Error value: Recieved error code 553 from SMTP: 553 ... Domain name required
Innermost method: None
Namespace Stack (innermost entry at top)
ID Type
(N/A) mapping with keys: ['document_id', 'document_title']
testfolder InstanceDict
REQUEST ZPublisher.HTTPRequest.HTTPRequest
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> > > > >
So any kind of help will be highly appreciated...
Plzz bring me out of this nightmare....:(
With regards
Suhail