office 365 SMTP outlook 拍错
Error: Message failed: 554 5.2.0 STOREDRV.Submission.Exception:OutboundSpamException; Failed to process message due to a permanent exception with message [BeginDiagnosticData]WASCL UserAction verdict is not None. Actual verdict is RefuseQuota, ShowTierUpgrade. OutboundSpamException: WASCL UserAction verdict is not None. Actual verdict is RefuseQuota, ShowTierUpgrade.[EndDiagnosticData] [Hostname=HK0PR02MB3217.apcprd02.prod.outlook.com]
at SMTPConnection._formatError (/Users/qilongyu/personal-code/qerFriends/node_modules/nodemailer/lib/smtp-connection/index.js:784:19)
at SMTPConnection._actionSMTPStream (/Users/qilongyu/personal-code/qerFriends/node_modules/nodemailer/lib/smtp-connection/index.js:1674:34)
at SMTPConnection.<anonymous> (/Users/qilongyu/personal-code/qerFriends/node_modules/nodemailer/lib/smtp-connection/index.js:1152:22)
at SMTPConnection._processResponse (/Users/qilongyu/personal-code/qerFriends/node_modules/nodemailer/lib/smtp-connection/index.js:947:20)
at SMTPConnection._onData (/Users/qilongyu/personal-code/qerFriends/node_modules/nodemailer/lib/smtp-connection/index.js:749:14)
at TLSSocket.SMTPConnection._onSocketData (/Users/qilongyu/personal-code/qerFriends/node_modules/nodemailer/lib/smtp-connection/index.js:189:44)
at TLSSocket.emit (node:events:520:28)
at TLSSocket.emit (node:domain:475:12)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
-
检查 user 跟 from 是否一致:https://stackoverflow.com/questions/54784431/unable-to-send-smtp-mails-using-office365-settings
-
检查是不是被 limit 了,去看下 outlook 邮箱有没有收到 ms 的信