Built motion from commit efa66e19.|2.6.22
[motion2.git] / server / services / email / lib / smtp.js
index 3776d61..9396b90 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbb4e=['toString','verify','nodemailer','nodemailer-plugin-inline-base64','prototype','createTransport','compile'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0xbb4e,0xc6));var _0xebb4=function(_0x53e3de,_0x13da7b){_0x53e3de=_0x53e3de-0x0;var _0x7b905b=_0xbb4e[_0x53e3de];return _0x7b905b;};'use strict';var nodemailer=require(_0xebb4('0x0'));var inlineBase64=require(_0xebb4('0x1'));function EmailSmtp(){}EmailSmtp[_0xebb4('0x2')]['send']=function(_0x4bfcab,_0xc42c0d){return new Promise(function(_0x3aeb8c,_0x4f9b9a){var _0x44b28b=nodemailer[_0xebb4('0x3')](_0x4bfcab);_0x44b28b['use'](_0xebb4('0x4'),inlineBase64());_0x44b28b['sendMail'](_0xc42c0d,function(_0x40ead6,_0xced7fa){if(_0x40ead6){_0x4f9b9a(_0x40ead6[_0xebb4('0x5')]());}else{_0x3aeb8c(_0xced7fa);}});});};EmailSmtp[_0xebb4('0x2')][_0xebb4('0x6')]=function(_0x249640){return new Promise(function(_0x10c0f1,_0x235bb9){var _0x20c741=nodemailer['createTransport'](_0x249640);_0x20c741[_0xebb4('0x6')](function(_0xb25082,_0x50ed38){if(_0xb25082){_0x235bb9(_0xb25082['toString']());}else{if(_0x50ed38){_0x10c0f1(_0x50ed38);}else{_0x235bb9('Not\x20verifired');}}});});};module['exports']=EmailSmtp;
\ No newline at end of file
+var _0xa017=['nodemailer-plugin-inline-base64','prototype','sendMail','verify','createTransport','toString','nodemailer'];(function(_0x9c771b,_0xf5bd99){var _0x493a66=function(_0x1421f6){while(--_0x1421f6){_0x9c771b['push'](_0x9c771b['shift']());}};_0x493a66(++_0xf5bd99);}(_0xa017,0x109));var _0x7a01=function(_0x311aad,_0x54d658){_0x311aad=_0x311aad-0x0;var _0x1779bd=_0xa017[_0x311aad];return _0x1779bd;};'use strict';var nodemailer=require(_0x7a01('0x0'));var inlineBase64=require(_0x7a01('0x1'));function EmailSmtp(){}EmailSmtp[_0x7a01('0x2')]['send']=function(_0x3db1b7,_0x5169b7){return new Promise(function(_0x48350b,_0x3950fc){var _0x47731b=nodemailer['createTransport'](_0x3db1b7);_0x47731b['use']('compile',inlineBase64());_0x47731b[_0x7a01('0x3')](_0x5169b7,function(_0x424916,_0x5bf9d3){if(_0x424916){_0x3950fc(_0x424916['toString']());}else{_0x48350b(_0x5bf9d3);}});});};EmailSmtp[_0x7a01('0x2')][_0x7a01('0x4')]=function(_0x157225){return new Promise(function(_0x465edb,_0xa1696b){var _0x2cfd84=nodemailer[_0x7a01('0x5')](_0x157225);_0x2cfd84['verify'](function(_0x30d25b,_0x48fa91){if(_0x30d25b){_0xa1696b(_0x30d25b[_0x7a01('0x6')]());}else{if(_0x48fa91){_0x465edb(_0x48fa91);}else{_0xa1696b('Not\x20verifired');}}});});};module['exports']=EmailSmtp;
\ No newline at end of file