Built motion from commit 1fa89557.|2.6.10
[motion2.git] / server / services / email / lib / smtp.js
index 4daa6a7..809f6ed 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd89e=['bluebird','nodemailer-plugin-inline-base64','createTransport','use','compile','toString','verify','exports','nodemailer'];(function(_0x2f3184,_0x4f5e57){var _0x199542=function(_0x207913){while(--_0x207913){_0x2f3184['push'](_0x2f3184['shift']());}};_0x199542(++_0x4f5e57);}(_0xd89e,0x15e));var _0xed89=function(_0x50d27c,_0x8b37f0){_0x50d27c=_0x50d27c-0x0;var _0x3f2fea=_0xd89e[_0x50d27c];return _0x3f2fea;};'use strict';var nodemailer=require(_0xed89('0x0'));var BPromise=require(_0xed89('0x1'));var inlineBase64=require(_0xed89('0x2'));function EmailSmtp(){}EmailSmtp['prototype']['send']=function(_0xc48838,_0x5804ab){return new BPromise(function(_0x4bada1,_0x98790a){var _0x1dcbe0=nodemailer[_0xed89('0x3')](_0xc48838);_0x1dcbe0[_0xed89('0x4')](_0xed89('0x5'),inlineBase64());_0x1dcbe0['sendMail'](_0x5804ab,function(_0x4d53d6,_0x2647bd){if(_0x4d53d6){_0x98790a(_0x4d53d6[_0xed89('0x6')]());}else{_0x4bada1(_0x2647bd);}});});};EmailSmtp['prototype'][_0xed89('0x7')]=function(_0x24d35d){return new BPromise(function(_0x448e85,_0x2761a7){var _0x11c6aa=nodemailer[_0xed89('0x3')](_0x24d35d);_0x11c6aa[_0xed89('0x7')](function(_0x4749c3,_0x13ccea){if(_0x4749c3){_0x2761a7(_0x4749c3[_0xed89('0x6')]());}else{if(_0x13ccea){_0x448e85(_0x13ccea);}else{_0x2761a7('Not\x20verifired');}}});});};module[_0xed89('0x8')]=EmailSmtp;
\ No newline at end of file
+var _0xb93f=['nodemailer','nodemailer-plugin-inline-base64','prototype','send','createTransport','use','sendMail','toString','verify','Not\x20verifired','exports'];(function(_0x22dd41,_0x91070c){var _0x62fa7b=function(_0x48dbf7){while(--_0x48dbf7){_0x22dd41['push'](_0x22dd41['shift']());}};_0x62fa7b(++_0x91070c);}(_0xb93f,0x1a2));var _0xfb93=function(_0x14e9f0,_0x287f90){_0x14e9f0=_0x14e9f0-0x0;var _0xa63f7e=_0xb93f[_0x14e9f0];return _0xa63f7e;};'use strict';var nodemailer=require(_0xfb93('0x0'));var inlineBase64=require(_0xfb93('0x1'));function EmailSmtp(){}EmailSmtp[_0xfb93('0x2')][_0xfb93('0x3')]=function(_0x689081,_0x51b8e5){return new Promise(function(_0x287d0d,_0x54817a){var _0x2a89b8=nodemailer[_0xfb93('0x4')](_0x689081);_0x2a89b8[_0xfb93('0x5')]('compile',inlineBase64());_0x2a89b8[_0xfb93('0x6')](_0x51b8e5,function(_0x2d6db8,_0x3a2e2c){if(_0x2d6db8){_0x54817a(_0x2d6db8[_0xfb93('0x7')]());}else{_0x287d0d(_0x3a2e2c);}});});};EmailSmtp[_0xfb93('0x2')][_0xfb93('0x8')]=function(_0xd0dfb6){return new Promise(function(_0x332bf0,_0x52f03b){var _0x5b1cc2=nodemailer[_0xfb93('0x4')](_0xd0dfb6);_0x5b1cc2[_0xfb93('0x8')](function(_0x517829,_0x2a5b4c){if(_0x517829){_0x52f03b(_0x517829[_0xfb93('0x7')]());}else{if(_0x2a5b4c){_0x332bf0(_0x2a5b4c);}else{_0x52f03b(_0xfb93('0x9'));}}});});};module[_0xfb93('0xa')]=EmailSmtp;
\ No newline at end of file