Built motion from commit (unavailable).|2.5.29
[motion2.git] / server / services / email / lib / smtp.js
index 7337f58..86b6beb 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8f30=['sendMail','toString','verify','exports','nodemailer','send','createTransport'];(function(_0x4ddc6a,_0x32c566){var _0x185bff=function(_0x5779a2){while(--_0x5779a2){_0x4ddc6a['push'](_0x4ddc6a['shift']());}};_0x185bff(++_0x32c566);}(_0x8f30,0x162));var _0x08f3=function(_0x153652,_0xd9e7e2){_0x153652=_0x153652-0x0;var _0x1d8e7d=_0x8f30[_0x153652];return _0x1d8e7d;};'use strict';var nodemailer=require(_0x08f3('0x0'));var BPromise=require('bluebird');var inlineBase64=require('nodemailer-plugin-inline-base64');function EmailSmtp(){}EmailSmtp['prototype'][_0x08f3('0x1')]=function(_0x1f3b8e,_0xe14764){return new BPromise(function(_0x1673be,_0x9014f){var _0x4c174c=nodemailer[_0x08f3('0x2')](_0x1f3b8e);_0x4c174c['use']('compile',inlineBase64());_0x4c174c[_0x08f3('0x3')](_0xe14764,function(_0x148cb5,_0x22582a){if(_0x148cb5){_0x9014f(_0x148cb5[_0x08f3('0x4')]());}else{_0x1673be(_0x22582a);}});});};EmailSmtp['prototype'][_0x08f3('0x5')]=function(_0x3255b3){return new BPromise(function(_0x44f688,_0x5991b7){var _0x2080a2=nodemailer[_0x08f3('0x2')](_0x3255b3);_0x2080a2['verify'](function(_0x7dd81b,_0x130821){if(_0x7dd81b){_0x5991b7(_0x7dd81b['toString']());}else{if(_0x130821){_0x44f688(_0x130821);}else{_0x5991b7('Not\x20verifired');}}});});};module[_0x08f3('0x6')]=EmailSmtp;
\ No newline at end of file
+var _0x3c15=['createTransport','Not\x20verifired','exports','nodemailer','prototype','compile','toString','verify'];(function(_0x166d93,_0x301f09){var _0xba708=function(_0x349bf7){while(--_0x349bf7){_0x166d93['push'](_0x166d93['shift']());}};_0xba708(++_0x301f09);}(_0x3c15,0x123));var _0x53c1=function(_0x2f7109,_0x44f210){_0x2f7109=_0x2f7109-0x0;var _0x34b004=_0x3c15[_0x2f7109];return _0x34b004;};'use strict';var nodemailer=require(_0x53c1('0x0'));var BPromise=require('bluebird');var inlineBase64=require('nodemailer-plugin-inline-base64');function EmailSmtp(){}EmailSmtp[_0x53c1('0x1')]['send']=function(_0xe7fb6d,_0x2a2b79){return new BPromise(function(_0x2d986e,_0x147798){var _0x20cc3e=nodemailer['createTransport'](_0xe7fb6d);_0x20cc3e['use'](_0x53c1('0x2'),inlineBase64());_0x20cc3e['sendMail'](_0x2a2b79,function(_0x12f28a,_0x32a51b){if(_0x12f28a){_0x147798(_0x12f28a[_0x53c1('0x3')]());}else{_0x2d986e(_0x32a51b);}});});};EmailSmtp[_0x53c1('0x1')][_0x53c1('0x4')]=function(_0x530a35){return new BPromise(function(_0x1d3e3b,_0x10d4ba){var _0x445301=nodemailer[_0x53c1('0x5')](_0x530a35);_0x445301[_0x53c1('0x4')](function(_0x5a292f,_0x4dffb2){if(_0x5a292f){_0x10d4ba(_0x5a292f[_0x53c1('0x3')]());}else{if(_0x4dffb2){_0x1d3e3b(_0x4dffb2);}else{_0x10d4ba(_0x53c1('0x6'));}}});});};module[_0x53c1('0x7')]=EmailSmtp;
\ No newline at end of file