#4 How to submit HTML page
open
nobody
None
5
2005-09-26
2005-09-26
No
Looking for a way to use libgmail to submit a webpage
-- retaining the html and not turning into plaintext.
For reasons I am not completely sure of (regarding the
Content-type headers), the HTML I submit comes out
without interpretation on the other end. Is there a
way to adjust the Content Type header in order to let
the reciever know it is HTML as GMail does natively
through the web interface?
Logged In: NO
from a TODO list in the sendMessage method:
## 1. The `Content-Type` header (which also
contains the boundary
## marker) needs to be extracted from the MIME
message so
## we can send it as the request `Content-Type`
header instead.
So yes, I'd guess html mail is going to be supported when
someone gets around to it.
Logged In: YES
user_id=1597966
To make Gmail send the body as HTML, you can try adding this
additional parameter into the sendMessage call:
_extraParams={'ishtml':'1'}