Built motion from commit 1fa89557.|2.6.10
[motion2.git] / server / services / email / lib / smtp.js
index 7337f58..809f6ed 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8f30=['sendMail','toString','verify','exports','nodemailer','send','createTransport'];(function(_0x4ddc6a,_0x32c566){var _0x185bff=function(_0x5779a2){while(--_0x5779a2){_0x4ddc6a['push'](_0x4ddc6a['shift']());}};_0x185bff(++_0x32c566);}(_0x8f30,0x162));var _0x08f3=function(_0x153652,_0xd9e7e2){_0x153652=_0x153652-0x0;var _0x1d8e7d=_0x8f30[_0x153652];return _0x1d8e7d;};'use strict';var nodemailer=require(_0x08f3('0x0'));var BPromise=require('bluebird');var inlineBase64=require('nodemailer-plugin-inline-base64');function EmailSmtp(){}EmailSmtp['prototype'][_0x08f3('0x1')]=function(_0x1f3b8e,_0xe14764){return new BPromise(function(_0x1673be,_0x9014f){var _0x4c174c=nodemailer[_0x08f3('0x2')](_0x1f3b8e);_0x4c174c['use']('compile',inlineBase64());_0x4c174c[_0x08f3('0x3')](_0xe14764,function(_0x148cb5,_0x22582a){if(_0x148cb5){_0x9014f(_0x148cb5[_0x08f3('0x4')]());}else{_0x1673be(_0x22582a);}});});};EmailSmtp['prototype'][_0x08f3('0x5')]=function(_0x3255b3){return new BPromise(function(_0x44f688,_0x5991b7){var _0x2080a2=nodemailer[_0x08f3('0x2')](_0x3255b3);_0x2080a2['verify'](function(_0x7dd81b,_0x130821){if(_0x7dd81b){_0x5991b7(_0x7dd81b['toString']());}else{if(_0x130821){_0x44f688(_0x130821);}else{_0x5991b7('Not\x20verifired');}}});});};module[_0x08f3('0x6')]=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