Hotmail
Hotmail 账户 | 无需短信验证 | 已启用 OAuth2 | 全新未使用 | 高质量
$0.0460
/ 件
库存:
447
1 ~ 50
合计:
$0.0460
商品参数
| 类目 | Hotmail |
| 发货方式 | 自动发货 |
| 购买数量 | 1 ~ 50 |
| 支持补货 | 否 |
| 上游商品号 | #115011 |
商品详情
所有账号在售出前均经过验证
Outlook 账号:randomname@hotmail.com
从未在任何地方使用过
已启用 Oauth2,随账号提供刷新令牌和客户端 ID
无需短信验证
未添加备用邮箱;如果 Outlook 要求添加,请使用 Oauth2 授权
提供的账号格式:
邮箱:密码:刷新令牌:客户端 ID
---------------------------------------------------
100% 的账号在售出前均经过检查
Outlook 账号:randomemailname@outlook.com
从未使用过
可跳过选项
网页登录可用
无需短信验证
账号不含备用邮箱;如果 Outlook 要求添加,请使用 Oauth2 授权
账号格式:
邮箱:密码:刷新令牌:客户端 ID
使用 Oauth2 登录的 Python 代码:
import requests
import json
EMAIL = "INPUT_CLIENT_ID"
REFRESH_TOKEN = "INPUT_REFRESH_TOKEN"
CLIENT_ID = "INPUT_CLIENT_id"
TOKEN_URL = "https://login.microsoftonline.com/common/oauth2/v2.0/token"
r = requests.post(
TOKEN_URL,
data={
"client_id": CLIENT_ID,
"grant_type": "refresh_token",
"refresh_token": REFRESH_TOKEN,
"scope": "offline_access User.Read Mail.Read",
},
)
print("TOKEN STATUS:", r.status_code)
print(json.dumps(r.json(), indent=2, ensure_ascii=False))
access_token = r.json().get("access_token")
if not access_token:
raise SystemExit("Failed to obtain access_token")
headers = {
"Authorization": f"Bearer {access_token}",
"Accept": "application/json",
}
url = "https://graph.microsoft.com/v1.0/me/mailFolders/inbox/messages"
params = {
"$top": 10,
"$select": "id,from,subject,receivedDateTime,bodyPreview",
"$orderby": "receivedDateTime desc",
}
resp = requests.get(url, headers=headers, params=params)
print("GRAPH STATUS:", resp.status_code)
print(json.dumps(resp.json(), indent=2, ensure_ascii=False))
messages = resp.json().get("value", [])
for msg in messages:
sender = msg.get("from", {}).get("emailAddress", {}).get("address")
subject = msg.get("subject")
date = msg.get("receivedDateTime")
preview = msg.get("bodyPreview")
print("From:", sender)
print("Subject:", subject)
print("Date:", date)
print("Preview:", preview)
print("-" * 50)