"Suhail Murtaza" <> writes: I have tried to reproduce your problem: > 1>>>####################################################### > <dtml-sendmail > mailhost="MailHost3" > mailto="vikas <[EMAIL PROTECTED]>" > mailfrom="suhail <[EMAIL PROTECTED]>" > > 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 <[EMAIL PROTECTED]>" mailfrom="suhail <[EMAIL PROTECTED]>" 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:[EMAIL PROTECTED] > From:[EMAIL PROTECTED] > 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 _______________________________________________ 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 )