Built motion from commit 1fa89557.|2.6.10
[motion2.git] / server / services / email / lib / smtp.js
index 16efd2e..809f6ed 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4cbf=['Not\x20verifired','nodemailer','nodemailer-plugin-inline-base64','prototype','send','createTransport','use','compile','sendMail','toString'];(function(_0x5d0901,_0x110cc2){var _0xf961f0=function(_0x5c8bf9){while(--_0x5c8bf9){_0x5d0901['push'](_0x5d0901['shift']());}};_0xf961f0(++_0x110cc2);}(_0x4cbf,0x187));var _0xf4cb=function(_0x2b4411,_0x2625ed){_0x2b4411=_0x2b4411-0x0;var _0x8e41ef=_0x4cbf[_0x2b4411];return _0x8e41ef;};'use strict';var nodemailer=require(_0xf4cb('0x0'));var BPromise=require('bluebird');var inlineBase64=require(_0xf4cb('0x1'));function EmailSmtp(){}EmailSmtp[_0xf4cb('0x2')][_0xf4cb('0x3')]=function(_0x16f2be,_0x4c71fc){return new BPromise(function(_0x1c3343,_0x157efc){var _0x4fa392=nodemailer[_0xf4cb('0x4')](_0x16f2be);_0x4fa392[_0xf4cb('0x5')](_0xf4cb('0x6'),inlineBase64());_0x4fa392[_0xf4cb('0x7')](_0x4c71fc,function(_0x3222c0,_0x44be94){if(_0x3222c0){_0x157efc(_0x3222c0[_0xf4cb('0x8')]());}else{_0x1c3343(_0x44be94);}});});};EmailSmtp[_0xf4cb('0x2')]['verify']=function(_0x56ce4b){return new BPromise(function(_0x47b841,_0x11c0f9){var _0x36b9dd=nodemailer[_0xf4cb('0x4')](_0x56ce4b);_0x36b9dd['verify'](function(_0x56d343,_0x421e70){if(_0x56d343){_0x11c0f9(_0x56d343[_0xf4cb('0x8')]());}else{if(_0x421e70){_0x47b841(_0x421e70);}else{_0x11c0f9(_0xf4cb('0x9'));}}});});};module['exports']=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