This commit is contained in:
Luk 2024-11-25 22:01:38 +08:00
parent b4408ce9f9
commit 292e138732

View File

@ -35,7 +35,7 @@ module.exports = {
}
*/
if (result.messageId && result.response === '250 Ok') {
//console.log({ _at: new Date().toJSON(), _state: 'MSG_SENT_SUCCESS', subject: messageObject.subject, ...result.envelope }, '\n,')
console.log({ _at: new Date().toJSON(), _state: 'MSG_SENT_SUCCESS', subject: messageObject.subject, ...result.envelope }, '\n,')
return { _state: 'MSG_SENT_SUCCESS' }
} else {
console.log({ _at: new Date().toJSON(), _state: 'MSG_SEND_FAIL', subject: messageObject.subject, ...result }, '\n,')