Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / services / email / lib / smtp.js
index 29fa6ea..66e8d8f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x252f=['exports','nodemailer','nodemailer-plugin-inline-base64','prototype','use','compile','sendMail','createTransport'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x252f,0x199));var _0xf252=function(_0x3b29ce,_0x13de5f){_0x3b29ce=_0x3b29ce-0x0;var _0x57b233=_0x252f[_0x3b29ce];return _0x57b233;};'use strict';var nodemailer=require(_0xf252('0x0'));var inlineBase64=require(_0xf252('0x1'));function EmailSmtp(){}EmailSmtp[_0xf252('0x2')]['send']=function(_0x38d580,_0x478275){return new Promise(function(_0x16fe6b,_0x57a6f7){var _0x5b2aa3=nodemailer['createTransport'](_0x38d580);_0x5b2aa3[_0xf252('0x3')](_0xf252('0x4'),inlineBase64());_0x5b2aa3[_0xf252('0x5')](_0x478275,function(_0x4709a1,_0x527984){if(_0x4709a1){_0x57a6f7(_0x4709a1['toString']());}else{_0x16fe6b(_0x527984);}});});};EmailSmtp[_0xf252('0x2')]['verify']=function(_0x199007){return new Promise(function(_0x4fff9b,_0xaf86f2){var _0xc04aa3=nodemailer[_0xf252('0x6')](_0x199007);_0xc04aa3['verify'](function(_0x212709,_0x5953a5){if(_0x212709){_0xaf86f2(_0x212709['toString']());}else{if(_0x5953a5){_0x4fff9b(_0x5953a5);}else{_0xaf86f2('Not\x20verifired');}}});});};module[_0xf252('0x7')]=EmailSmtp;
\ No newline at end of file
+var _0x07b2=['Not\x20verifired','exports','nodemailer-plugin-inline-base64','send','use','compile','sendMail','toString','prototype','createTransport','verify'];(function(_0x181a4c,_0x934992){var _0x35f26e=function(_0x381a72){while(--_0x381a72){_0x181a4c['push'](_0x181a4c['shift']());}};_0x35f26e(++_0x934992);}(_0x07b2,0x1af));var _0x207b=function(_0x270b53,_0x4da250){_0x270b53=_0x270b53-0x0;var _0x1cf703=_0x07b2[_0x270b53];return _0x1cf703;};'use strict';var nodemailer=require('nodemailer');var inlineBase64=require(_0x207b('0x0'));function EmailSmtp(){}EmailSmtp['prototype'][_0x207b('0x1')]=function(_0xf4b458,_0x9d9b78){return new Promise(function(_0x34fc3c,_0x3013a1){var _0x62e854=nodemailer['createTransport'](_0xf4b458);_0x62e854[_0x207b('0x2')](_0x207b('0x3'),inlineBase64());_0x62e854[_0x207b('0x4')](_0x9d9b78,function(_0x137ace,_0x37ea0f){if(_0x137ace){_0x3013a1(_0x137ace[_0x207b('0x5')]());}else{_0x34fc3c(_0x37ea0f);}});});};EmailSmtp[_0x207b('0x6')]['verify']=function(_0x4be9fa){return new Promise(function(_0x14290d,_0x58e230){var _0x1b19fd=nodemailer[_0x207b('0x7')](_0x4be9fa);_0x1b19fd[_0x207b('0x8')](function(_0x548955,_0x3982b3){if(_0x548955){_0x58e230(_0x548955[_0x207b('0x5')]());}else{if(_0x3982b3){_0x14290d(_0x3982b3);}else{_0x58e230(_0x207b('0x9'));}}});});};module[_0x207b('0xa')]=EmailSmtp;
\ No newline at end of file