Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : fdshops ( 1003)
PHP Version : 8.2.21
Disable Function : NONE
Directory :  /lib/python2.7/site-packages/offlineimap/repository/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python2.7/site-packages/offlineimap/repository/Gmail.pyc
�
��Vc@s@ddlmZddlmZmZdefd��YZdS(i����(tIMAPRepository(tfoldertOfflineImapErrortGmailRepositorycBszeZdZdZdZdZd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�ZRS(s�Gmail IMAP repository.

    Falls back to hard-coded gmail host name and port, if none were specified:
    http://mail.google.com/support/bin/answer.py?answer=78799&topic=12814
    simap.gmail.comi�s*https://accounts.google.com/o/oauth2/tokencCs4|j�jd|dd�tj|||�dS(s$Initialize a GmailRepository object.sRepository tssltyesN(t	getconfigtsetRt__init__(tselft	reposnametaccount((s@/usr/lib/python2.7/site-packages/offlineimap/repository/Gmail.pyR"s
cCs?ytt|�j�SWn!tk
r:tj|_|jSXdS(s�Return the server name to connect to.

        Gmail implementation first checks for the usual IMAP settings
        and falls back to imap.gmail.com if not specified.N(tsuperRtgethostRtHOSTNAMEt_host(R	((s@/usr/lib/python2.7/site-packages/offlineimap/repository/Gmail.pyR
*s

cCs@tt|�j�}|dkr0tj|_n	||_|jS(s�Return the server name to connect to.

        Gmail implementation first checks for the usual IMAP settings
        and falls back to imap.gmail.com if not specified.N(RRtgetoauth2_request_urltNonet
OAUTH2_URLt_oauth2_request_url(R	turl((s@/usr/lib/python2.7/site-packages/offlineimap/repository/Gmail.pyR6s
	cCstjS(N(RtPORT(R	((s@/usr/lib/python2.7/site-packages/offlineimap/repository/Gmail.pytgetportDscCsdS(Ni((R	((s@/usr/lib/python2.7/site-packages/offlineimap/repository/Gmail.pytgetsslGscCsdS(N(R(R	((s@/usr/lib/python2.7/site-packages/offlineimap/repository/Gmail.pytgetpreauthtunnelJscCs|j�|j||�S(N(t
getfoldertypet
imapserver(R	t
foldername((s@/usr/lib/python2.7/site-packages/offlineimap/repository/Gmail.pyt	getfolderMscCs
tjjS(N(RtGmailtGmailFolder(R	((s@/usr/lib/python2.7/site-packages/offlineimap/repository/Gmail.pyRQscCs|jdd�S(Nttrashfolders
[Gmail]/Trash(tgetconf(R	R((s@/usr/lib/python2.7/site-packages/offlineimap/repository/Gmail.pytgettrashfolderTscCs|jdd�S(Nt
spamfolders[Gmail]/Spam(R (R	((s@/usr/lib/python2.7/site-packages/offlineimap/repository/Gmail.pyt
getspamfolderXs(t__name__t
__module__t__doc__RRRRR
RRRRRRR!R#(((s@/usr/lib/python2.7/site-packages/offlineimap/repository/Gmail.pyRs									N(tofflineimap.repository.IMAPRtofflineimapRRR(((s@/usr/lib/python2.7/site-packages/offlineimap/repository/Gmail.pyt<module>s

Spamworldpro Mini