Built motion from commit da617fac.|2.6.6
[motion2.git] / server / services / email / lib / smtp.js
index 98f2a61..e0847ed 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6a97=['send','use','compile','toString','prototype','verify','createTransport','nodemailer','bluebird','nodemailer-plugin-inline-base64'];(function(_0x4c2204,_0x3faa4a){var _0xd07bbb=function(_0x59433b){while(--_0x59433b){_0x4c2204['push'](_0x4c2204['shift']());}};_0xd07bbb(++_0x3faa4a);}(_0x6a97,0x13d));var _0x76a9=function(_0x466e57,_0x21b819){_0x466e57=_0x466e57-0x0;var _0x34df42=_0x6a97[_0x466e57];return _0x34df42;};'use strict';var nodemailer=require(_0x76a9('0x0'));var BPromise=require(_0x76a9('0x1'));var inlineBase64=require(_0x76a9('0x2'));function EmailSmtp(){}EmailSmtp['prototype'][_0x76a9('0x3')]=function(_0x23e92c,_0x3a4977){return new BPromise(function(_0x480f6c,_0x2c7426){var _0xbdd49a=nodemailer['createTransport'](_0x23e92c);_0xbdd49a[_0x76a9('0x4')](_0x76a9('0x5'),inlineBase64());_0xbdd49a['sendMail'](_0x3a4977,function(_0x1f3b74,_0x440246){if(_0x1f3b74){_0x2c7426(_0x1f3b74[_0x76a9('0x6')]());}else{_0x480f6c(_0x440246);}});});};EmailSmtp[_0x76a9('0x7')][_0x76a9('0x8')]=function(_0x204cbf){return new BPromise(function(_0x3e3267,_0x112708){var _0x46fbc5=nodemailer[_0x76a9('0x9')](_0x204cbf);_0x46fbc5[_0x76a9('0x8')](function(_0x1c0dcb,_0x12ab1e){if(_0x1c0dcb){_0x112708(_0x1c0dcb[_0x76a9('0x6')]());}else{if(_0x12ab1e){_0x3e3267(_0x12ab1e);}else{_0x112708('Not\x20verifired');}}});});};module['exports']=EmailSmtp;
\ No newline at end of file
+var _0x5c4d=['nodemailer','nodemailer-plugin-inline-base64','createTransport','use','compile','sendMail','verify','Not\x20verifired'];(function(_0x3c5f8d,_0x39891f){var _0x3b7beb=function(_0x44d6c9){while(--_0x44d6c9){_0x3c5f8d['push'](_0x3c5f8d['shift']());}};_0x3b7beb(++_0x39891f);}(_0x5c4d,0x120));var _0xd5c4=function(_0x14bc03,_0x1f858b){_0x14bc03=_0x14bc03-0x0;var _0x9af4a1=_0x5c4d[_0x14bc03];return _0x9af4a1;};'use strict';var nodemailer=require(_0xd5c4('0x0'));var inlineBase64=require(_0xd5c4('0x1'));function EmailSmtp(){}EmailSmtp['prototype']['send']=function(_0x62803f,_0x367a22){return new Promise(function(_0x2f2032,_0x4f02a0){var _0x5a1d51=nodemailer[_0xd5c4('0x2')](_0x62803f);_0x5a1d51[_0xd5c4('0x3')](_0xd5c4('0x4'),inlineBase64());_0x5a1d51[_0xd5c4('0x5')](_0x367a22,function(_0x45ee3e,_0x270a0e){if(_0x45ee3e){_0x4f02a0(_0x45ee3e['toString']());}else{_0x2f2032(_0x270a0e);}});});};EmailSmtp['prototype'][_0xd5c4('0x6')]=function(_0x3a7c3f){return new Promise(function(_0x107ea3,_0x3f6462){var _0x478dd6=nodemailer[_0xd5c4('0x2')](_0x3a7c3f);_0x478dd6[_0xd5c4('0x6')](function(_0x4a560f,_0x387b5c){if(_0x4a560f){_0x3f6462(_0x4a560f['toString']());}else{if(_0x387b5c){_0x107ea3(_0x387b5c);}else{_0x3f6462(_0xd5c4('0x7'));}}});});};module['exports']=EmailSmtp;
\ No newline at end of file