sendmail ---problem!!!!!!!!
hi everbody.... I am trying to make the <dtml-sendmail > work since 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 but with subject,to and body field blank and the other simply doesnt work and gives the SMTP error of <domain name required>>> and i hve configured the the MailHost3 properly...... the codes i hve used is below......(these i have copied directly from dtmlmethods) 1>>>####################################################### <dtml-var standard_html_header> <dtml-sendmail mailhost="MailHost3" mailto=" <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, The SnippetClass constructor (http://zdp.zope.org/Control_Panel/Products/DocumentFolderProduct/SnippetClas...) Content: hello how r u and what u do? </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 mailhost="MailHost3"> To: suhail <suhail@morelinux.com> From: vikas <vikas@morelinux.com> Subject: A new test ! Dear suhail ! Under the following URL, a Snippet has been added: Have a nice day, The SnippetClass constructor (http://zdp.zope.org/Control_Panel/Products/DocumentFolderProduct/SnippetClas...) </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 <None>... 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
participants (1)
-
Suhail Murtaza