libgmail

Include html part in a mail with python libgmail

I've a question about its usage: i need to send an html formatted mail. I prepare my message with ga = libgmail.GmailAccount(USERNAME,PASSWORD) msg = MIMEMultipart('alternative') msg.attach(part1) msg.attach(part2) ... ga.sendMessage(msg.as_string()) This way doesn't works, it seems can't send msg with sendMessage method. What is th...

monitoring an email address

I'm hoping for an event based way to know when I get an email. Right now I'm using gmail but the email host isn't critical. Do I really have to poll it? ...

Python - problem in importing new module - libgmail

Hi all, I downloaded Python module libgmail from sourceforge and extracted all the files in the archive. The archive had setup.py, so I went to that directory in command prompt and did setup.py install I am getting the following error message I:\libgmail-0.1.11>setup.py install Traceback (most recent call last): File "I:\libgmail...

cant install libgmail in python

Hi All, i'm a newbie in python , and trying to install libgmail .. this is what i get : C:\libgmail-0.1.11>setup.py Traceback (most recent call last): File "C:\libgmail-0.1.11\setup.py", line 7, in <module> import libgmail File "C:\libgmail-0.1.11\libgmail.py", line 96 exec data in {'__builtins__': None}, {'D': lambda x: r...

cant send SMS vla libgmail - python

Hi All, i'm new to python , and trying to write a script in order to send SMS's , after quick googling i found this lib: libgmail, and successfully installed it , this is the code i use to send SMS: !/usr/bin/env python import libgmail ga = libgmail.GmailAccount("[email protected]", "password") myCellEmail = "[email protected]...