mirror of
https://git.axenov.dev/mirrors/cursor-free-vip.git
synced 2025-12-26 05:30:36 +03:00
增强邮件验证功能,新增发件人邮箱检查,确保发件人包含'cursor'字符串以提高邮件处理的准确性。
This commit is contained in:
@@ -101,6 +101,11 @@ class TempMailPlusTab(EmailTabInterface):
|
||||
if not data.get('result'):
|
||||
return ""
|
||||
|
||||
# 验证发件人邮箱是否包含cursor字符串
|
||||
from_mail = data.get('from_mail', '')
|
||||
if 'cursor' not in from_mail.lower():
|
||||
return ""
|
||||
|
||||
# Extract verification code from text content using regex
|
||||
text = data.get('text', '')
|
||||
match = re.search(r'\n\n(\d{6})\n\n', text)
|
||||
|
||||
Reference in New Issue
Block a user