Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / services / email / lib / smtp.js
index 4e7cc47..be92183 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x31fe=['compile','toString','verify','Not\x20verifired','nodemailer','prototype','send','createTransport'];(function(_0x42cae2,_0x284ef8){var _0x5f256f=function(_0x41abc8){while(--_0x41abc8){_0x42cae2['push'](_0x42cae2['shift']());}};_0x5f256f(++_0x284ef8);}(_0x31fe,0x64));var _0xe31f=function(_0x1a511a,_0xdf348f){_0x1a511a=_0x1a511a-0x0;var _0xba4cd0=_0x31fe[_0x1a511a];return _0xba4cd0;};'use strict';var nodemailer=require(_0xe31f('0x0'));var inlineBase64=require('nodemailer-plugin-inline-base64');function EmailSmtp(){}EmailSmtp[_0xe31f('0x1')][_0xe31f('0x2')]=function(_0x2b7318,_0xf84427){return new Promise(function(_0xab2422,_0x19a5b7){var _0x2a0735=nodemailer[_0xe31f('0x3')](_0x2b7318);_0x2a0735['use'](_0xe31f('0x4'),inlineBase64());_0x2a0735['sendMail'](_0xf84427,function(_0x521a8a,_0x36395b){if(_0x521a8a){_0x19a5b7(_0x521a8a[_0xe31f('0x5')]());}else{_0xab2422(_0x36395b);}});});};EmailSmtp[_0xe31f('0x1')][_0xe31f('0x6')]=function(_0x20bca7){return new Promise(function(_0x2acd6f,_0x495e0b){var _0x57c2dc=nodemailer['createTransport'](_0x20bca7);_0x57c2dc[_0xe31f('0x6')](function(_0x4a039a,_0x923cab){if(_0x4a039a){_0x495e0b(_0x4a039a[_0xe31f('0x5')]());}else{if(_0x923cab){_0x2acd6f(_0x923cab);}else{_0x495e0b(_0xe31f('0x7'));}}});});};module['exports']=EmailSmtp;
\ No newline at end of file
+var _0x694e=['exports','nodemailer-plugin-inline-base64','prototype','send','createTransport','compile','sendMail','verify','toString','Not\x20verifired'];(function(_0x485b5a,_0x2b289b){var _0xd2b34d=function(_0x34dcbd){while(--_0x34dcbd){_0x485b5a['push'](_0x485b5a['shift']());}};_0xd2b34d(++_0x2b289b);}(_0x694e,0x15f));var _0xe694=function(_0x19438d,_0x3a2232){_0x19438d=_0x19438d-0x0;var _0x352188=_0x694e[_0x19438d];return _0x352188;};'use strict';var nodemailer=require('nodemailer');var inlineBase64=require(_0xe694('0x0'));function EmailSmtp(){}EmailSmtp[_0xe694('0x1')][_0xe694('0x2')]=function(_0x97c746,_0x248129){return new Promise(function(_0x21d3e8,_0x2a001b){var _0x59d91a=nodemailer[_0xe694('0x3')](_0x97c746);_0x59d91a['use'](_0xe694('0x4'),inlineBase64());_0x59d91a[_0xe694('0x5')](_0x248129,function(_0x2682b6,_0x27419c){if(_0x2682b6){_0x2a001b(_0x2682b6['toString']());}else{_0x21d3e8(_0x27419c);}});});};EmailSmtp['prototype'][_0xe694('0x6')]=function(_0x3b41d5){return new Promise(function(_0xf951d0,_0x5844e4){var _0x37692f=nodemailer['createTransport'](_0x3b41d5);_0x37692f['verify'](function(_0x4e708f,_0x39b504){if(_0x4e708f){_0x5844e4(_0x4e708f[_0xe694('0x7')]());}else{if(_0x39b504){_0xf951d0(_0x39b504);}else{_0x5844e4(_0xe694('0x8'));}}});});};module[_0xe694('0x9')]=EmailSmtp;
\ No newline at end of file