u
This commit is contained in:
		
							parent
							
								
									b4408ce9f9
								
							
						
					
					
						commit
						292e138732
					
				@ -35,7 +35,7 @@ module.exports = {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
        */
 | 
					        */
 | 
				
			||||||
        if (result.messageId && result.response === '250 Ok') {
 | 
					        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' }
 | 
					          return { _state: 'MSG_SENT_SUCCESS' }
 | 
				
			||||||
        } else {
 | 
					        } else {
 | 
				
			||||||
          console.log({ _at: new Date().toJSON(), _state: 'MSG_SEND_FAIL', subject: messageObject.subject, ...result }, '\n,')
 | 
					          console.log({ _at: new Date().toJSON(), _state: 'MSG_SEND_FAIL', subject: messageObject.subject, ...result }, '\n,')
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user