about search post article Documentation Mailing Lists Bug Tracking Development Installation Upgrading Download admin rdf |
from the dept. I've been trying to post emails as postings to my squishdot site. Zmailin gets the emails perfectly, my question is how could I call addPosting method of the squishdot site from an outside python script ? I've been trying to post emails as postings to my squishdot site. Zmailin gets the emails perfectly, my question is how could I call addPosting method of the squishdot site from an outside(from Zmailin) python script ? First I tried calling it like; squishdot.addPosting(xxxxx); it didn't work , the error was ; Error Type: NameError Error Value: global name Then, I tried importing addPosting method like; ... from Products.Squishdot.Posting import addPosting squishdot.addPosting(XXX) ... when I run above code it asks for login and password but it doesn't accept the password even though I enter the correct password. And when I cancel the error is, Error Type: Unauthorized Error Value: You are not allowed to access Squishdot in this context any help ? < | >
|
|
||||
|