Built motion from commit (unavailable).|2.5.11
[motion2.git] / server / services / email / lib / smtp.js
index 7213533..29848d7 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 _0xd4e2=['verify','toString','Not\x20verifired','exports','bluebird','nodemailer-plugin-inline-base64','prototype','createTransport','use','sendMail'];(function(_0x18b9d0,_0x2a4981){var _0x14984b=function(_0x199c07){while(--_0x199c07){_0x18b9d0['push'](_0x18b9d0['shift']());}};_0x14984b(++_0x2a4981);}(_0xd4e2,0x90));var _0x2d4e=function(_0x3bf83f,_0x181cac){_0x3bf83f=_0x3bf83f-0x0;var _0x22c4a9=_0xd4e2[_0x3bf83f];return _0x22c4a9;};'use strict';var nodemailer=require('nodemailer');var BPromise=require(_0x2d4e('0x0'));var inlineBase64=require(_0x2d4e('0x1'));function EmailSmtp(){}EmailSmtp[_0x2d4e('0x2')]['send']=function(_0x5411c4,_0x51fd21){return new BPromise(function(_0xe35524,_0x5008c6){var _0x449b92=nodemailer[_0x2d4e('0x3')](_0x5411c4);_0x449b92[_0x2d4e('0x4')]('compile',inlineBase64());_0x449b92[_0x2d4e('0x5')](_0x51fd21,function(_0x1a559c,_0x14534a){if(_0x1a559c){_0x5008c6(_0x1a559c['toString']());}else{_0xe35524(_0x14534a);}});});};EmailSmtp[_0x2d4e('0x2')][_0x2d4e('0x6')]=function(_0x5d68fb){return new BPromise(function(_0x2c6ef1,_0x46777e){var _0x61fb4=nodemailer[_0x2d4e('0x3')](_0x5d68fb);_0x61fb4[_0x2d4e('0x6')](function(_0x5d729e,_0x781992){if(_0x5d729e){_0x46777e(_0x5d729e[_0x2d4e('0x7')]());}else{if(_0x781992){_0x2c6ef1(_0x781992);}else{_0x46777e(_0x2d4e('0x8'));}}});});};module[_0x2d4e('0x9')]=EmailSmtp;
\ No newline at end of file