Skip to content

Instantly share code, notes, and snippets.

View ArshansGithub's full-sized avatar
🫡
Locked in

Arshan ArshansGithub

🫡
Locked in
View GitHub Profile
@ArshansGithub
ArshansGithub / EmailVerification.py
Created February 4, 2024 17:55
Email Verification Solver VIA IMAP
class EmailVerification:
def __init__(self, email, password):
self.server = IMAPClient('outlook.office365.com', port=993, use_uid=True)
self.server.login(email, password)
self.server.select_folder('INBOX')
def amount(self):
return self.server.select_folder('INBOX')[b'EXISTS']
def check(self, target, match, methodType="text", delete=True):