Реклама в магазине
Banner
Разное

🍀 Outlook Accounts 🍀 Web Login Works • Recovery Email Added with Access • REFRESH TOKEN and CLIENT ID Included • Oauth2 activated • Real Logins • SMS No Need • Never Used

Изображение: 🍀 Outlook Accounts 🍀 Web Login Works • Recovery Email Added with Access • REFRESH TOKEN and CLIENT ID Included • Oauth2 activated • Real Logins • SMS No Need • Never Used
0 шт.
1,8 ₽
Куплено: 0 раз

🍀100% accounts were checked before sale🍀
🍀To login reserve email use only this link https://firstmail.ltd/webmail/login🍀

🍀Outlook accounts: realemail@outlook.com
Recovery email access, recovery email imap: imap.firstmail.ltd:993
Never used
Web login works
SMS no need
OAuth2 is activated, refresh token & client id come with accounts

🍀Format of accounts: 
email:password:recovery email:recovery email password:refresh token:client id

🍀Python code to login with OAuth2:

import requests
import imaplib
import email

EMAIL = "user@outlook.com" # enter account email between ""
REFRESH_TOKEN = "REFRESH_TOKEN" # enter refresh token between ""
CLIENT_ID = "CLIENT_ID" # enter client id between ""

r = requests.post(
    "https://login.microsoftonline.com/common/oauth2/v2.0/token",
    data={
        "client_id": CLIENT_ID,
        "refresh_token": REFRESH_TOKEN,
        "grant_type": "refresh_token",
        "scope": "https://outlook.office.com/IMAP.AccessAsUser.All offline_access",
    },
)
access_token = r.json().get("access_token")
if not access_token:
    raise SystemExit("Cant get access_token")


auth_string = f"user={EMAIL}\1auth=Bearer {access_token}\1\1"
imap = imaplib.IMAP4_SSL("outlook.office365.com")
imap.authenticate("XOAUTH2", lambda _: auth_string)
imap.select("INBOX")

typ, data = imap.search(None, "ALL")
for num in data[0].split()[-10:]:  
    typ, msg_data = imap.fetch(num, "(RFC822)")
    msg = email.message_from_bytes(msg_data[0][1])
    print("From:", msg.get("From"))
    print("Subject:", msg.get("Subject"))
    print("-" * 40)

imap.logout()