feat: Removing unnecessary emails
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -5,3 +5,4 @@
|
|||||||
**/scripts/migrate/*
|
**/scripts/migrate/*
|
||||||
v1/src/config/*.json
|
v1/src/config/*.json
|
||||||
**/apiConfig.json
|
**/apiConfig.json
|
||||||
|
ignore/*
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ async function sendMailTemplate( receiver, subject, html ){
|
|||||||
|
|
||||||
async function StandAloneContactEmail( content ){
|
async function StandAloneContactEmail( content ){
|
||||||
/** Send out the contact email to the default list of people */
|
/** Send out the contact email to the default list of people */
|
||||||
const receiver_list = ["support@etaviaporte.com", "eduardo.hernandez@etaviaporte.com"];
|
const receiver_list = ["eduardo.hernandez@etaviaporte.com","abel.mejia@etaviaporte.com"];
|
||||||
const {name, email, message } = content;
|
const {name, email, message } = content;
|
||||||
for(const receiver of receiver_list){
|
for(const receiver of receiver_list){
|
||||||
await transporter.sendMail({
|
await transporter.sendMail({
|
||||||
|
|||||||
Reference in New Issue
Block a user