Re: [Zope] help with MailTemplates 1.0.0

2005-10-13 Thread Chris Withers
Nicolas Georgakopoulos wrote: I make it work , the fist time I try to use it I had copied my Mailhost object from another folder and it wasn't working. I delete it and create another one with a different name. When I go to the MailTemplate object to chooses my new MailHost it was already

Re: [Zope] help with MailTemplates 1.0.0

2005-10-13 Thread Nicolas Georgakopoulos
Chris Withers wrote: And to send the attachment I get another error: strongError Type: Unauthorized/strongbr/ strongError Value: You are not allowed to access 'add_file' in this context/strongbr/ The user executing the python script that calls add_file needs to have the 'Use mailhost

Re: [Zope] help with MailTemplates 1.0.0

2005-10-12 Thread Nicolas Georgakopoulos
Chris Withers wrote: Nicolas Georgakopoulos wrote: Whatever you have selected is resolving to a string instead of a MailHost object :-S I have selected a Zope mailhost object Please explain exactly what you did, including how you create the MailHost, the Mail Template and the

Re: [Zope] help with MailTemplates 1.0.0

2005-10-11 Thread Chris Withers
Nicolas Georgakopoulos wrote: I installed the MailTemplates product to Zope and try to run the example from the readme file: -- Simple Example This example sends a simple templated mail to a specific address. Add the following to a

Re: [Zope] help with MailTemplates 1.0.0

2005-10-11 Thread Chris Withers
(for the 2nd time, please keep this on the list...) (just for the light on thinking, that means hit reply all or make sure zope@zope.org is in the cc list) Nicolas Georgakopoulos wrote: Your documentation have anothe problem , you forgot to set a subject in your example :( Oh dear, yes, I

Re: [Zope] help with MailTemplates 1.0.0

2005-10-11 Thread Chris Withers
(sheesh, what is it with people, is 'reply all' that hard to find? ;-) Tino Wildenhain wrote: tal:x replace=options/message/ *yuck* tal to render plain text. Now thats ugly ;) Suggest something better... I find it convenient, especially for generating html mail, which customer have a

Re: [Zope] help with MailTemplates 1.0.0

2005-10-11 Thread Nicolas Georgakopoulos
Chris Withers wrote: (for the 2nd time, please keep this on the list...) (just for the light on thinking, that means hit reply all or make sure zope@zope.org is in the cc list) Sorry for that , it was on purpose.. I'm new to Zope and thought that it wasn't right to bother the rest of the

Re: [Zope] help with MailTemplates 1.0.0

2005-10-11 Thread Chris Withers
Nicolas Georgakopoulos wrote: Sorry for that , it was on purpose.. I'm new to Zope and thought that it wasn't right to bother the rest of the list with my beginner problem... The opposite is true.. by keeping this on the list, not only can other people help out, but other people can learn,

Re: [Zope] help with MailTemplates 1.0.0

2005-10-11 Thread Nicolas Georgakopoulos
Chris Withers wrote: Nicolas Georgakopoulos wrote: Sorry for that , it was on purpose.. I'm new to Zope and thought that it wasn't right to bother the rest of the list with my beginner problem... The opposite is true.. by keeping this on the list, not only can other people help out,

Re: [Zope] help with MailTemplates 1.0.0

2005-10-11 Thread Chris Withers
Nicolas Georgakopoulos wrote: Whatever you have selected is resolving to a string instead of a MailHost object :-S I have selected a Zope mailhost object Please explain exactly what you did, including how you create the MailHost, the Mail Template and the Python Script, in detail... I