Aggiornamento cataloghi...
This commit is contained in:
@@ -57,6 +57,7 @@ module.exports = {
|
||||
|
||||
if (to === '')
|
||||
return false;
|
||||
|
||||
// console.log('mylocalsconf', mylocalsconf);
|
||||
|
||||
// console.log("check EMAIL :" + checkifSendEmail());
|
||||
@@ -88,7 +89,6 @@ module.exports = {
|
||||
// transport = this.getTransport(mylocalsconf);
|
||||
// }
|
||||
|
||||
// console.log('1 . transport', transport);
|
||||
|
||||
if (transport) {
|
||||
paramemail.transport = transport;
|
||||
@@ -700,6 +700,9 @@ module.exports = {
|
||||
},
|
||||
|
||||
getdataemail: async (idapp, templemail_id) => {
|
||||
|
||||
const pwd_from = await Settings.getValDbSettings(idapp, 'PWD_FROM');
|
||||
|
||||
// console.log('getdataemail');
|
||||
const mydata = {
|
||||
content_after_events: await Settings.getValDbSettings(idapp, 'TEXT_AFTER_EV'),
|
||||
@@ -718,7 +721,7 @@ module.exports = {
|
||||
height_logo: await Settings.getValDbSettings(idapp, 'HEIGHT_LOGO'),
|
||||
from: await Settings.getValDbSettings(idapp, 'EMAIL_FROM'),
|
||||
email_reply: await Settings.getValDbSettings(idapp, 'EMAIL_REPLY', ''),
|
||||
pwd_from: await Settings.getValDbSettings(idapp, 'PWD_FROM'),
|
||||
pwd_from: pwd_from,
|
||||
email_service: await Settings.getValDbSettings(idapp, 'EMAIL_SERVICE_SEND'),
|
||||
email_port: await Settings.getValDbSettings(idapp, 'EMAIL_PORT'),
|
||||
templemail_id: templemail_id ? templemail_id : await Settings.getValDbSettings(idapp, 'TEMPLEMAIL_ID'),
|
||||
@@ -732,6 +735,8 @@ module.exports = {
|
||||
},
|
||||
|
||||
getTransport: (mylocalsconf) => {
|
||||
console.log('getTransport');
|
||||
|
||||
// Create Transport
|
||||
let smtpTransport = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user