HOTMAIL 账户 | 使用 1 个月 | 网页登录 | OAUTH2 令牌 | 已启用 POP3、IMAP - HOTMAIL 账户 | 使用 1 个月 | 网页登录 | OAUTH2 令牌 | 已启用 POP3、IMAP
Hotmail

HOTMAIL 账户 | 使用 1 个月 | 网页登录 | OAUTH2 令牌 | 已启用 POP3、IMAP - HOTMAIL 账户 | 使用 1 个月 | 网页登录 | OAUTH2 令牌 | 已启用 POP3、IMAP

$0.0660 / 件
庫存: 126,297
1 ~ 50
合計: $0.0660
商品參數
類目 Hotmail
發貨方式 自動發貨
購買數量 1 ~ 50
支援補貨
上游商品號 #38023

商品詳情

  • Hotmail 账号,高质量。
  • 已注册 1 个月。
  • 网页登录可用。
  • 寿命很长,可使用一年或更久。
  • 全新账号,未在任何地方使用过,只有你能访问。
  • 已激活 OAuth2,包含 RefreshToken、ClientId。
  • 已启用 POP3、IMAP。使用 OAuth2 访问 IMAP、POP3。
  • 男性或女性。

账号格式:登录名:密码:refresh_token:client_id

重要提示:如果在浏览器登录时提示添加恢复邮箱,直接打开:

https://outlook.live.com/mail/0/

由于你已登录,系统会直接带你进入邮箱。只需在同一个浏览器中打开该链接即可。

  • Hotmail 账号,高质量。
  • 已注册 1 个月。
  • 网页登录可用。
  • 寿命很长,可使用一年或更久。
  • 全新账号,未在任何地方使用过,只有你能访问。
  • 已激活 OAuth2,包含 RefreshToken、ClientId。
  • 已启用 POP3、IMAP。使用 OAuth2 访问 IMAP、POP3。
  • 男性或女性。

账号格式:登录名:密码:refresh_token:client_id

重要提示:如果在浏览器登录时提示添加恢复邮箱,直接打开:

https://outlook.live.com/mail/0/

由于你已登录,系统会直接带你进入邮箱。只需在同一个浏览器中打开该链接即可。


OAuth2 IMAP 邮件读取 Python 示例:

import base64
import imaplib
import poplib
import requests

def get_access_token(client_id, refresh_token):
data = {
'client_id': client_id,
'grant_type': 'refresh_token',
'refresh_token': refresh_token
}
ret = requests.post('https://login.live.com/oauth20_token.srf', data=data)

# Print the response content and access token
print(ret.text)
print(ret.json()['access_token'])
return ret.json()['access_token']

# Generate OAuth2 authentication string using the access token
def generate_auth_string(user, token):
auth_string = f"user={user}\1auth=Bearer {token}\1\1"
return auth_string

pop3_server = 'outlook.office365.com'
pop3_port = 995 # POP3 over SSL

def connect_pop3(email, access_token):
server = poplib.POP3_SSL(pop3_server, pop3_port)
# Authenticate using OAuth2
auth_string = generate_auth_string(email, access_token)
encoded_auth_string = base64.b64encode(auth_string.encode("utf-8")).decode("utf-8")
server._shortcmd(f'AUTH XOAUTH2')
server._shortcmd(f'{encoded_auth_string}')

# Retrieve the list of emails
num_messages = len(server.list()[1])
print(f"There are {num_messages} emails in the inbox.")

# Retrieve email content
for i in range(num_messages):
response, lines, octets = server.retr(i + 1)
msg_content = b"\n".join(lines).decode("utf-8")
print(f"Email {i + 1}:")
print(msg_content)
print("=" * 50)

def connect_imap(email, access_token):
mail = imaplib.IMAP4_SSL('outlook.office365.com')
# Print the generated authentication string
print(generate_auth_string(email, access_token))
mail.authenticate('XOAUTH2', lambda x: generate_auth_string(email, access_token))
mail.select("INBOX")
status, messages = mail.search(None, 'ALL')
print("Email IDs:", messages)
mail.logout()

# Set the email address and refresh token
client_id = 'CLIENT_ID_HERE'
email = "example@hotmail.com"
t = "YOUR_REFRESH_TOKEN_HERE"

# Get the access token using the refresh token
acc_token = get_access_token(client_id, t)

# Connect to the IMAP server and access emails
connect_imap(email, acc_token)

.

同類商品

📧 Hotmail | 🔐 OAuth2 | 🌐 网页 | 📵 无手机 | 🌍 混合IP
$0.6000
**Hotmail – 仅 OAuth2 令牌,全新,长期使用,混合 IP 🔐📧** - **Hot
$0.1400
Hotmail 账号 📧 | 1个月老号 🗓️ | 网页登录 🌐 | OAuth2 Token 🔑
$0.1200
🔥 Hotmail / Outlook 📧 | 🚫 无短信 | 🌐 网页 + Graph API |
$2.4000
Hotmail 账号 📧 | 1个月老号 🗓️ | 网页登录 🌐 | OAuth2 Token 🔑
$0.1000