Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / services / email / lib / smtp.js
index e8c50f3..f78f544 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7ec6=['send','createTransport','use','compile','toString','verify','Not\x20verifired','exports','nodemailer','nodemailer-plugin-inline-base64','prototype'];(function(_0x44b3bd,_0x44c97d){var _0x1efc4a=function(_0x5d0205){while(--_0x5d0205){_0x44b3bd['push'](_0x44b3bd['shift']());}};_0x1efc4a(++_0x44c97d);}(_0x7ec6,0x105));var _0x67ec=function(_0x169dbd,_0x2f741a){_0x169dbd=_0x169dbd-0x0;var _0x282fc2=_0x7ec6[_0x169dbd];return _0x282fc2;};'use strict';var nodemailer=require(_0x67ec('0x0'));var inlineBase64=require(_0x67ec('0x1'));function EmailSmtp(){}EmailSmtp[_0x67ec('0x2')][_0x67ec('0x3')]=function(_0x3aaab8,_0x49522b){return new Promise(function(_0x1014cb,_0x469542){var _0x5a9929=nodemailer[_0x67ec('0x4')](_0x3aaab8);_0x5a9929[_0x67ec('0x5')](_0x67ec('0x6'),inlineBase64());_0x5a9929['sendMail'](_0x49522b,function(_0x915438,_0x3377d6){if(_0x915438){_0x469542(_0x915438[_0x67ec('0x7')]());}else{_0x1014cb(_0x3377d6);}});});};EmailSmtp[_0x67ec('0x2')][_0x67ec('0x8')]=function(_0x3fc4f7){return new Promise(function(_0x2e9cf1,_0x2a2a3d){var _0x1f0010=nodemailer[_0x67ec('0x4')](_0x3fc4f7);_0x1f0010['verify'](function(_0x48c917,_0x36bf4b){if(_0x48c917){_0x2a2a3d(_0x48c917[_0x67ec('0x7')]());}else{if(_0x36bf4b){_0x2e9cf1(_0x36bf4b);}else{_0x2a2a3d(_0x67ec('0x9'));}}});});};module[_0x67ec('0xa')]=EmailSmtp;
\ No newline at end of file
+var _0xfc95=['use','compile','sendMail','toString','verify','Not\x20verifired','exports','nodemailer','nodemailer-plugin-inline-base64','prototype','send','createTransport'];(function(_0x4bea3a,_0x3cc161){var _0x4f0016=function(_0x35e8c4){while(--_0x35e8c4){_0x4bea3a['push'](_0x4bea3a['shift']());}};_0x4f0016(++_0x3cc161);}(_0xfc95,0x8b));var _0x5fc9=function(_0x3c4e4c,_0x36ff70){_0x3c4e4c=_0x3c4e4c-0x0;var _0x144a87=_0xfc95[_0x3c4e4c];return _0x144a87;};'use strict';var nodemailer=require(_0x5fc9('0x0'));var inlineBase64=require(_0x5fc9('0x1'));function EmailSmtp(){}EmailSmtp[_0x5fc9('0x2')][_0x5fc9('0x3')]=function(_0x1f0352,_0x3666a6){return new Promise(function(_0x1d5644,_0x25ea95){var _0x3ff4a5=nodemailer[_0x5fc9('0x4')](_0x1f0352);_0x3ff4a5[_0x5fc9('0x5')](_0x5fc9('0x6'),inlineBase64());_0x3ff4a5[_0x5fc9('0x7')](_0x3666a6,function(_0x51d269,_0x477f5c){if(_0x51d269){_0x25ea95(_0x51d269[_0x5fc9('0x8')]());}else{_0x1d5644(_0x477f5c);}});});};EmailSmtp['prototype'][_0x5fc9('0x9')]=function(_0x7a27e0){return new Promise(function(_0x375cee,_0x2e841){var _0x914f9b=nodemailer['createTransport'](_0x7a27e0);_0x914f9b[_0x5fc9('0x9')](function(_0x46c983,_0x45a87a){if(_0x46c983){_0x2e841(_0x46c983[_0x5fc9('0x8')]());}else{if(_0x45a87a){_0x375cee(_0x45a87a);}else{_0x2e841(_0x5fc9('0xa'));}}});});};module[_0x5fc9('0xb')]=EmailSmtp;
\ No newline at end of file