Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / services / email / lib / smtp.js
index 0c5fe2b..1a5c02e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x260b=['toString','prototype','verify','Not\x20verifired','exports','nodemailer','send','createTransport','use','compile'];(function(_0x3a0020,_0xe3feaa){var _0x1adcb7=function(_0x3627c3){while(--_0x3627c3){_0x3a0020['push'](_0x3a0020['shift']());}};_0x1adcb7(++_0xe3feaa);}(_0x260b,0x7d));var _0xb260=function(_0x145435,_0x326220){_0x145435=_0x145435-0x0;var _0x55a234=_0x260b[_0x145435];return _0x55a234;};'use strict';var nodemailer=require(_0xb260('0x0'));var inlineBase64=require('nodemailer-plugin-inline-base64');function EmailSmtp(){}EmailSmtp['prototype'][_0xb260('0x1')]=function(_0x27cbaa,_0x442bc1){return new Promise(function(_0x54195d,_0x1cf70e){var _0x3393c1=nodemailer[_0xb260('0x2')](_0x27cbaa);_0x3393c1[_0xb260('0x3')](_0xb260('0x4'),inlineBase64());_0x3393c1['sendMail'](_0x442bc1,function(_0x52fcc4,_0x289892){if(_0x52fcc4){_0x1cf70e(_0x52fcc4[_0xb260('0x5')]());}else{_0x54195d(_0x289892);}});});};EmailSmtp[_0xb260('0x6')][_0xb260('0x7')]=function(_0x472a42){return new Promise(function(_0x58a765,_0x44ee4b){var _0x20a709=nodemailer[_0xb260('0x2')](_0x472a42);_0x20a709[_0xb260('0x7')](function(_0x1176d1,_0x5111e8){if(_0x1176d1){_0x44ee4b(_0x1176d1[_0xb260('0x5')]());}else{if(_0x5111e8){_0x58a765(_0x5111e8);}else{_0x44ee4b(_0xb260('0x8'));}}});});};module[_0xb260('0x9')]=EmailSmtp;
\ No newline at end of file
+var _0x0286=['exports','nodemailer-plugin-inline-base64','prototype','send','createTransport','use','toString','verify','Not\x20verifired'];(function(_0x2162e4,_0x5eb29c){var _0x3ec31d=function(_0x327910){while(--_0x327910){_0x2162e4['push'](_0x2162e4['shift']());}};_0x3ec31d(++_0x5eb29c);}(_0x0286,0x19f));var _0x6028=function(_0x23a469,_0x5667e4){_0x23a469=_0x23a469-0x0;var _0x5f2a21=_0x0286[_0x23a469];return _0x5f2a21;};'use strict';var nodemailer=require('nodemailer');var inlineBase64=require(_0x6028('0x0'));function EmailSmtp(){}EmailSmtp[_0x6028('0x1')][_0x6028('0x2')]=function(_0x53940d,_0x97abc6){return new Promise(function(_0x587f74,_0x16cf12){var _0x4127a5=nodemailer[_0x6028('0x3')](_0x53940d);_0x4127a5[_0x6028('0x4')]('compile',inlineBase64());_0x4127a5['sendMail'](_0x97abc6,function(_0x552957,_0x454ab7){if(_0x552957){_0x16cf12(_0x552957[_0x6028('0x5')]());}else{_0x587f74(_0x454ab7);}});});};EmailSmtp[_0x6028('0x1')][_0x6028('0x6')]=function(_0x5b8c4c){return new Promise(function(_0x4c2fdf,_0x57ec6c){var _0xa0f94=nodemailer[_0x6028('0x3')](_0x5b8c4c);_0xa0f94['verify'](function(_0x3eeb3f,_0x42b89b){if(_0x3eeb3f){_0x57ec6c(_0x3eeb3f[_0x6028('0x5')]());}else{if(_0x42b89b){_0x4c2fdf(_0x42b89b);}else{_0x57ec6c(_0x6028('0x7'));}}});});};module[_0x6028('0x8')]=EmailSmtp;
\ No newline at end of file