Built motion from commit (unavailable).|2.5.25
[motion2.git] / server / services / email / lib / smtp.js
index 7213533..2b8355e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xad5d=['createTransport','use','compile','sendMail','verify','toString','Not\x20verifired','exports','nodemailer','bluebird','nodemailer-plugin-inline-base64','prototype'];(function(_0xfcfd92,_0x238aba){var _0x45fb99=function(_0x82232a){while(--_0x82232a){_0xfcfd92['push'](_0xfcfd92['shift']());}};_0x45fb99(++_0x238aba);}(_0xad5d,0x1e8));var _0xdad5=function(_0xb0a3c4,_0x472476){_0xb0a3c4=_0xb0a3c4-0x0;var _0x2c19f7=_0xad5d[_0xb0a3c4];return _0x2c19f7;};'use strict';var nodemailer=require(_0xdad5('0x0'));var BPromise=require(_0xdad5('0x1'));var inlineBase64=require(_0xdad5('0x2'));function EmailSmtp(){}EmailSmtp[_0xdad5('0x3')]['send']=function(_0x20993b,_0xe0f4c0){return new BPromise(function(_0x439060,_0x2a9a27){var _0x1ae5c9=nodemailer[_0xdad5('0x4')](_0x20993b);_0x1ae5c9[_0xdad5('0x5')](_0xdad5('0x6'),inlineBase64());_0x1ae5c9[_0xdad5('0x7')](_0xe0f4c0,function(_0x20c549,_0xdfb2cf){if(_0x20c549){_0x2a9a27(_0x20c549['toString']());}else{_0x439060(_0xdfb2cf);}});});};EmailSmtp[_0xdad5('0x3')][_0xdad5('0x8')]=function(_0x5e1beb){return new BPromise(function(_0x551395,_0x3ad61f){var _0xea9c19=nodemailer[_0xdad5('0x4')](_0x5e1beb);_0xea9c19['verify'](function(_0x2c3a1c,_0x8619d6){if(_0x2c3a1c){_0x3ad61f(_0x2c3a1c[_0xdad5('0x9')]());}else{if(_0x8619d6){_0x551395(_0x8619d6);}else{_0x3ad61f(_0xdad5('0xa'));}}});});};module[_0xdad5('0xb')]=EmailSmtp;
\ No newline at end of file
+var _0xfbeb=['prototype','send','createTransport','use','compile','sendMail','verify','toString','Not\x20verifired','exports','nodemailer','bluebird','nodemailer-plugin-inline-base64'];(function(_0x2080a3,_0x48acfa){var _0x8d7d17=function(_0x2dbc06){while(--_0x2dbc06){_0x2080a3['push'](_0x2080a3['shift']());}};_0x8d7d17(++_0x48acfa);}(_0xfbeb,0xe7));var _0xbfbe=function(_0x23f3fe,_0x37a19c){_0x23f3fe=_0x23f3fe-0x0;var _0x1b1cb1=_0xfbeb[_0x23f3fe];return _0x1b1cb1;};'use strict';var nodemailer=require(_0xbfbe('0x0'));var BPromise=require(_0xbfbe('0x1'));var inlineBase64=require(_0xbfbe('0x2'));function EmailSmtp(){}EmailSmtp[_0xbfbe('0x3')][_0xbfbe('0x4')]=function(_0x11e3e4,_0x30a657){return new BPromise(function(_0x2dc648,_0x4b8f2a){var _0x32ba5a=nodemailer[_0xbfbe('0x5')](_0x11e3e4);_0x32ba5a[_0xbfbe('0x6')](_0xbfbe('0x7'),inlineBase64());_0x32ba5a[_0xbfbe('0x8')](_0x30a657,function(_0x5a0a1d,_0x4ed089){if(_0x5a0a1d){_0x4b8f2a(_0x5a0a1d['toString']());}else{_0x2dc648(_0x4ed089);}});});};EmailSmtp['prototype'][_0xbfbe('0x9')]=function(_0x226c1e){return new BPromise(function(_0x263774,_0x33f557){var _0x14db41=nodemailer[_0xbfbe('0x5')](_0x226c1e);_0x14db41['verify'](function(_0x249c94,_0x2381a4){if(_0x249c94){_0x33f557(_0x249c94[_0xbfbe('0xa')]());}else{if(_0x2381a4){_0x263774(_0x2381a4);}else{_0x33f557(_0xbfbe('0xb'));}}});});};module[_0xbfbe('0xc')]=EmailSmtp;
\ No newline at end of file