Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / services / email / lib / smtp.js
index 8d70ec8..66e8d8f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1814=['createTransport','compile','toString','prototype','verify','Not\x20verifired','exports','nodemailer','bluebird','nodemailer-plugin-inline-base64','send'];(function(_0x5a9c0c,_0x4ec485){var _0x53c77d=function(_0x1cf384){while(--_0x1cf384){_0x5a9c0c['push'](_0x5a9c0c['shift']());}};_0x53c77d(++_0x4ec485);}(_0x1814,0x1eb));var _0x4181=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x1814[_0x3dd15e];return _0x231fd0;};'use strict';var nodemailer=require(_0x4181('0x0'));var BPromise=require(_0x4181('0x1'));var inlineBase64=require(_0x4181('0x2'));function EmailSmtp(){}EmailSmtp['prototype'][_0x4181('0x3')]=function(_0x569eb4,_0xd6a4cc){return new BPromise(function(_0x5cdd95,_0x135525){var _0x1f6a38=nodemailer[_0x4181('0x4')](_0x569eb4);_0x1f6a38['use'](_0x4181('0x5'),inlineBase64());_0x1f6a38['sendMail'](_0xd6a4cc,function(_0x4cb053,_0x49c274){if(_0x4cb053){_0x135525(_0x4cb053[_0x4181('0x6')]());}else{_0x5cdd95(_0x49c274);}});});};EmailSmtp[_0x4181('0x7')][_0x4181('0x8')]=function(_0x2554b2){return new BPromise(function(_0x3a94a1,_0xa5bb4e){var _0x302bec=nodemailer[_0x4181('0x4')](_0x2554b2);_0x302bec[_0x4181('0x8')](function(_0x545303,_0x22f9f1){if(_0x545303){_0xa5bb4e(_0x545303['toString']());}else{if(_0x22f9f1){_0x3a94a1(_0x22f9f1);}else{_0xa5bb4e(_0x4181('0x9'));}}});});};module[_0x4181('0xa')]=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