Hacking Gmail

(Grace) #1
labels
existing labels
certain label, retrieving messages from, 170–171
listing, 169–173
retrieving a labeled message and replying, 171–173
new labels
creating, 175
unlabeled messages, labeling, 173–174
overview, 80, 169
removing labels, 175–176
Lawton, Jim (mark read button), 115
Lefort, Jean-Yves (Mail Notification), 6
Libgmail
checking for mail, 139–140
downloading, 131
first message in inbox, reading, 134–135
getMessagesByFoldermethod, 133
getMessagesByLabelmethod, 133
getMessagesByQuerymethod, 133
getQuotaInfomethod, 134
getUnreadMsgCountmethod, 134
gmtodo, 205
installation of, 132, 215
loginmethod, 132
overview, 131
using, 132–135
libraries
Gmailer
array getAttachmentsOf( )method, 120
array getStandardBox( )method, 120
bool connect( )method, 119
bool connectNoCookie( )method, 119
bool fetch( )method, 119
bool fetchBox( )method, 119
bool fetchContact( )method, 119
bool getAttachment( )method, 120
bool isconnected( )method, 119
bool performAction( )method, 120
bool send( )method, 120
box_nameproperty, 123
box_posproperty, 123
box_totalproperty, 123
constants, 122–123
contacts_allproperty, 125
contacts_freqproperty, 125
conv_idproperty, 124
conv_labelsproperty, 124
conv_starredproperty, 124
conv_titleproperty, 124
conv_totalproperty, 124
downloading, 118
first message in inbox, reading, 126
GM_ACT_APPLYLABELconstant, 122

GM_ACT_ARCHIVEconstant, 122
GM_ACT_DELFOREVERconstant, 123
GM_ACT_INBOXconstant, 122
GM_ACT_READconstant, 122
GM_ACT_REMOVELABELconstant, 122
GM_ACT_SPAMconstant, 122
GM_ACT_STARconstant, 122
GM_ACT_TRASHconstant, 123
GM_ACT_UNREADconstant, 122
GM_ACT_UNSPAMconstant, 122
GM_ACT_UNSTARconstant, 122
GM_ACT_UNTRASHconstant, 123
GMailSnapshot get Snapshot( )
method, 120
gmail_verproperty, 123
GM_CONTACTconstant, 122
GM_CONVERSATIONconstant, 122
GM_LABELconstant, 122
GM_QUERYconstant, 122
GM_STANDARDconstant, 122
GM_USE_COOKIEconstant, 123
GM_USE_PHPSESSIONconstant, 123
have_invitproperty, 123
inbox, retrieval of, 121–122
installation of, 118
label_listproperty, 123
label_newproperty, 123
logging in with, 120–121
methods for, 119–120
overview, 118
quota_mbproperty, 123
quota_perproperty, 123
Snapshots, 123–124
std_box_newproperty, 123
string dump( )method, 120
using, 119–126
void disconnect( )method, 120
void setLoginInfomethod, 119
void setProxymethod, 119
void setSessionMethodmethod, 119
Libgmail
downloading, 131
first message in inbox, reading, 134–135
getMessagesByFoldermethod, 133
getMessagesByLabelmethod, 133
getMessagesByQuerymethod, 133
getQuotaInfomethod, 134
getUnreadMsgCountmethod, 134
installation of, 132
loginmethod, 132
overview, 131
using, 132–135

280 Index■L


24_59611x bindex.qxp 11/28/05 11:14 PM Page 280

Free download pdf