eladnava/mailgen

greeting: false, // not working

Save5Bucks opened this issue · 2 comments

Great work on this by the way!

Setting the greeting to false doesn't remove the greeting. I tried to change it and it is not working either.

var email = {
body: {
greeting: false,
signature: false,
//name: 'CORE CONSTRUCTION',
intro: 'YOU HAVE A NEW TRADE APPLICATION',
action: {
instructions: 'TO SEE THIS APPLICATION CLICK THE LINK BELOW:',
button: {
color: '#22BC66', // Optional action button color
text: 'CORE TOOLS',
link: 'https://google.com'
}
},
outro: 'IF YOU ARE HAVING PROBLEMS PLEASE CONTACT THE SYSTEM ADMIN.'
}

Hi @Save5Bucks,
Thanks for your kind words!

As per the issue - I can't reproduce - here's a screenshot of the output when running mailgen with the above code:

Screen Shot 2023-01-20 at 11 18 15 AM

As you can see, the greeting & title is gone. Please ensure you are using the latest mailgen (2.0.27).