Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / services / email / lib / smtp.js
index 4daa6a7..f78f544 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 _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