Built motion from commit da617fac.|2.6.6
[motion2.git] / server / services / email / lib / smtp.js
index ce03244..e0847ed 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x05fe=['verify','Not\x20verifired','bluebird','nodemailer-plugin-inline-base64','prototype','send','createTransport','use','compile','sendMail','toString'];(function(_0x4cfcc9,_0x150040){var _0x201279=function(_0x3d1c5e){while(--_0x3d1c5e){_0x4cfcc9['push'](_0x4cfcc9['shift']());}};_0x201279(++_0x150040);}(_0x05fe,0x115));var _0xe05f=function(_0x4b35de,_0x934a44){_0x4b35de=_0x4b35de-0x0;var _0x5af235=_0x05fe[_0x4b35de];return _0x5af235;};'use strict';var nodemailer=require('nodemailer');var BPromise=require(_0xe05f('0x0'));var inlineBase64=require(_0xe05f('0x1'));function EmailSmtp(){}EmailSmtp[_0xe05f('0x2')][_0xe05f('0x3')]=function(_0x2f23f7,_0x53c920){return new BPromise(function(_0x3b3a25,_0x5a8b78){var _0x5bd1b1=nodemailer[_0xe05f('0x4')](_0x2f23f7);_0x5bd1b1[_0xe05f('0x5')](_0xe05f('0x6'),inlineBase64());_0x5bd1b1[_0xe05f('0x7')](_0x53c920,function(_0x1e435c,_0x4109cb){if(_0x1e435c){_0x5a8b78(_0x1e435c[_0xe05f('0x8')]());}else{_0x3b3a25(_0x4109cb);}});});};EmailSmtp['prototype'][_0xe05f('0x9')]=function(_0x1edf14){return new BPromise(function(_0x31f3dd,_0x4a28c0){var _0x377e25=nodemailer[_0xe05f('0x4')](_0x1edf14);_0x377e25[_0xe05f('0x9')](function(_0x410874,_0x13656d){if(_0x410874){_0x4a28c0(_0x410874['toString']());}else{if(_0x13656d){_0x31f3dd(_0x13656d);}else{_0x4a28c0(_0xe05f('0xa'));}}});});};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