mirror of
https://github.com/ksyasuda/rice.git
synced 2026-11-01 04:35:14 -08:00
updates
This commit is contained in:
1 parent
2bada90e42
commit
8eb9630475
26 files changed
+1861
No files matched your search
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/python
|
||||
|
||||
import imaplib
|
||||
obj = imaplib.IMAP4_SSL('imap.gmail.com',993)
|
||||
obj.login('YOU@EMAIL.COM','PASSWORD') # write your email and password
|
||||
obj.select()
|
||||
print(len(obj.search(None, 'UnSeen')[1][0].split()))
|
||||
Reference in new issue
Block a user