29 Nov
2004
29 Nov
'04
7:52 p.m.
I get an error sending out mail from within a Plone app:- This site encountered an error trying to fulfill your request. The errors were: Error Type Mail couldn`t be sent (Script send_a_mail.py) This is the relevant script:- #Try if a Mailhost is specified try: mailhost=getattr(context, context.portal_url.superValues('Mail Host')[0].id) except: raise "There is no Mailhost specified (Script send_a_mail.py)" #send try: mailhost.send(mMsg,mTo,mFrom,mSubj) except: raise "Mail couldn`t be sent (Script send_a_mail.py)" How do I tell what the problem is? Should I expect to see anything in the local sendmail log? -- John