minor fix
This commit is contained in:
@@ -337,9 +337,9 @@ def main(driver: WebDriver):
|
||||
target = token.get_attribute('innerText').strip()
|
||||
|
||||
if target != recipient:
|
||||
print(f'[警告] ({attempt}): 检测到收件人地址不正确,正在重试...')
|
||||
print(f'[警告] ({attempt}): 收件人地址不一致:{target}')
|
||||
elif not clean:
|
||||
print(f'[警告] ({attempt}): 检测到邮件内容不正确,正在重试...')
|
||||
print(f'[警告] ({attempt}): 邮件内容不正确')
|
||||
else:
|
||||
# 发送邮件
|
||||
click("div.io-ox-mail-compose-window button[data-action='send']")
|
||||
|
||||
Reference in New Issue
Block a user