[Zope] Re: Mailhost problems (was: [Zope] (no subject))
Suhail Murtaza
suhail@morelinux.com
Sun, 17 Sep 2000 08:06:48 +0000 (GMT)
hello sir...
Thanx for responding.....
i have tried all the things ur goodself mentioned and
tried it again today after reading ur mail..but somehow
couldnt come up with success..
Well it is my 4th day with this and is really making me
go craxy now..:(..Yesterday i even checked the configuration
of our SMTP server and all that....
Anyway i want u to know that i am using Zope-2.1.6-src...
Does it hve to do anything with my problem???
Now i am planning to reinstall zope with all the hope
thanking u sir
with regards
suhail
On Sun, 17 Sep 2000 Dieter Maurer wrote:
> "Suhail Murtaza" <> writes:
> I have tried to reproduce your problem:
>
> > 1>>>#######################################################
> > <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 !
> >
> > ...
> > </dtml-sendmail>
> > ... sent but empty ...
>
> This looks like a wrong "dtml-sendmail" format:
> the closing '>' of dtml-sendmail comes before "Subject",
> the empty line separating the message header from the
> body is missing.
>
> Try:
>
> <dtml-sendmail
> mailhost="MailHost3"
> mailto="vikas <suhail@morelinux.com>"
> mailfrom="suhail <suhail@morelinux.com>"
> subject="<A new Snippet has been added to ZDP !>">
>
> COMMENT: Note the empty line above !!!
> Dear Rik !
> ...
> </dtml-sendmail>
>
> Apparently, "dtml-sendmail" does not create "To" and "From" headers
> from the "mailto" and "mailfrom" arguments.
>
> Thus, you should provide them as headers.
>
> > .....
>
> > 2>>> ##################################################
> > <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>
> > ....
> > This way it is throwing an dtml method exception that
> > domain name not specified....
> > ....
> > Error type: SMTP Error
> > Error value: Recieved error code 553 from SMTP: 553 ... Domain name required
> Somehow, your SMTP server is unhappy about the request.
> As both your "To" and "From" contain domain names, only
> "hostname" is a bit doubtfull. But there should be no
> domain name necessary for it.
>
> When I checked the "dtml-sendmail" on Zope 2.2.1, I
> have been successful with:
>
> <dtml-sendmail mailhost=MailHost>
> To: dieter@localhost
> From: dieter@localhost
> Subject: A test
>
> Hello
> </dtml-sendmail>
>
>
> Similar problems have come up some weeks ago in the mailing
> list. Search the (searchable) list archive. Maybe, you
> can contact the person with this problem and check whether
> he was able to solve it.
>
>
>
> Dieter