Actually looking at this I seem to have found this is based on "libgmail" which is in package python-libgmail 0.1.11-2 which was supposed "closed" for freedom from bugs :( The error I seem to keep seeing is an error in sendMessage routine but I lack the present python skills to fix it as well :(
And what's worse is that I found a bare minimum of 2 other implimentations of the "send gmail email through python" but they are all using generic mime and not for the remote command execution through the email service Just great :( On Sat, Aug 8, 2009 at 6:25 PM, John Haggerty <bouncy...@gmail.com> wrote: > I locate the following software which may be of use for some of my problems > 1) use an existing way to log info via email (in this case google's) 2) > attempting to do so remotely to affect logs on a machine > > Towards that end I located the following > > http://freshmeat.net/projects/ogss-open-gmail-sms-shell > > It seems to be good but then there hasn't been an update in something like > 4 months. > > (granted this may not be 100% perfect I would love some pointers to some > generic either python or moer general app supoprt besides the author) > > I have the following error when I attempt to use the software to login to > my gmail account (a's is the character length of the login and X's are > character length of the password z's are the mobile number and yy is the > carrier id string in the instructions) ow...@bouncyinc:~/Desktop/OGSS$ > sudo python ogss.py aaaaaaaaaaaaaaaaaa xxxxxxxxxxxxxxx zzz-zzz-zzzz yy > [sudo] password for owner: Starting ogss Logfile at:/home/owner/ogss.log > Opening log file for reading Parsing user input Connecting to Gmail Logging > into Gmail Opening log file for writing Traceback (most recent call last): > File "ogss.py", line 127, in <module> main(sys.argv) File "ogss.py", line > 81, in main account.sendMessage(instructions) File > "/usr/lib/python2.5/site-packages/libgmail.py", line 617, in sendMessage > raise GmailSendError, resultInfo[SM_MSG] libgmail.GmailSendError: Please try > again. At that point it claims that there is a "send error" which I don't > quite understand is there a way to fix this to allow this to work?