Permalink
Browse files

return messageId with the stub transport as well

  • Loading branch information...
1 parent 59144a6 commit 0ec43f121d58f2b6923a3fd604497bf90a3c5e1d @andris9 andris9 committed Mar 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/engines/stub.js
View
@@ -31,7 +31,7 @@ StubTransport.prototype.sendMail = function(emailMessage, callback) {
});
emailMessage.on("end", function(){
- callback(null, {message: output, envelope: emailMessage.getEnvelope()});
+ callback(null, {message: output, envelope: emailMessage.getEnvelope(), messageId: emailMessage._messageId});
});
emailMessage.streamMessage();

0 comments on commit 0ec43f1

Please sign in to comment.