Built motion from commit 775e2a94.|2.6.3
[motion2.git] / server / services / email / lib / smtp.js
index 3be2e0b..5fcb8cf 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1900=['prototype','createTransport','use','sendMail','toString','verify','Not\x20verifired','exports','bluebird','nodemailer-plugin-inline-base64'];(function(_0x54097b,_0x38091f){var _0x17f343=function(_0x5a6e82){while(--_0x5a6e82){_0x54097b['push'](_0x54097b['shift']());}};_0x17f343(++_0x38091f);}(_0x1900,0x76));var _0x0190=function(_0x3bc2a,_0x17f6e3){_0x3bc2a=_0x3bc2a-0x0;var _0xa129f9=_0x1900[_0x3bc2a];return _0xa129f9;};'use strict';var nodemailer=require('nodemailer');var BPromise=require(_0x0190('0x0'));var inlineBase64=require(_0x0190('0x1'));function EmailSmtp(){}EmailSmtp[_0x0190('0x2')]['send']=function(_0x467c34,_0x27d90a){return new BPromise(function(_0x4b4a37,_0x1839e3){var _0x11a64c=nodemailer[_0x0190('0x3')](_0x467c34);_0x11a64c[_0x0190('0x4')]('compile',inlineBase64());_0x11a64c[_0x0190('0x5')](_0x27d90a,function(_0x45ce20,_0x3a2fbe){if(_0x45ce20){_0x1839e3(_0x45ce20[_0x0190('0x6')]());}else{_0x4b4a37(_0x3a2fbe);}});});};EmailSmtp[_0x0190('0x2')][_0x0190('0x7')]=function(_0x489c51){return new BPromise(function(_0x4cfed8,_0x225a8e){var _0x13de3b=nodemailer[_0x0190('0x3')](_0x489c51);_0x13de3b['verify'](function(_0x48b045,_0x432a34){if(_0x48b045){_0x225a8e(_0x48b045[_0x0190('0x6')]());}else{if(_0x432a34){_0x4cfed8(_0x432a34);}else{_0x225a8e(_0x0190('0x8'));}}});});};module[_0x0190('0x9')]=EmailSmtp;
\ No newline at end of file
+var _0x3f64=['Not\x20verifired','exports','nodemailer','nodemailer-plugin-inline-base64','prototype','send','createTransport','use','compile','toString','verify'];(function(_0x45c221,_0x238d88){var _0x1febd7=function(_0x5b0ce2){while(--_0x5b0ce2){_0x45c221['push'](_0x45c221['shift']());}};_0x1febd7(++_0x238d88);}(_0x3f64,0x115));var _0x43f6=function(_0x1a6589,_0x18e486){_0x1a6589=_0x1a6589-0x0;var _0x275976=_0x3f64[_0x1a6589];return _0x275976;};'use strict';var nodemailer=require(_0x43f6('0x0'));var inlineBase64=require(_0x43f6('0x1'));function EmailSmtp(){}EmailSmtp[_0x43f6('0x2')][_0x43f6('0x3')]=function(_0x19cf06,_0x30912e){return new Promise(function(_0x51be82,_0x4bb286){var _0x1a962a=nodemailer[_0x43f6('0x4')](_0x19cf06);_0x1a962a[_0x43f6('0x5')](_0x43f6('0x6'),inlineBase64());_0x1a962a['sendMail'](_0x30912e,function(_0x4e8f68,_0x194ab4){if(_0x4e8f68){_0x4bb286(_0x4e8f68[_0x43f6('0x7')]());}else{_0x51be82(_0x194ab4);}});});};EmailSmtp[_0x43f6('0x2')]['verify']=function(_0x4b188c){return new Promise(function(_0x19c483,_0x232873){var _0x4e8320=nodemailer['createTransport'](_0x4b188c);_0x4e8320[_0x43f6('0x8')](function(_0x52ac66,_0x2e5f75){if(_0x52ac66){_0x232873(_0x52ac66['toString']());}else{if(_0x2e5f75){_0x19c483(_0x2e5f75);}else{_0x232873(_0x43f6('0x9'));}}});});};module[_0x43f6('0xa')]=EmailSmtp;
\ No newline at end of file