I am new to meteor js. Could you please suggest me how to add email template containing embed html code in meteor project. I had tried few packages,but its not working.Could you please explain with a sample example.
Note: When a user register into my site. Both of us (new user and me) have to get the email. Both contains different embed html content.
I luckily implemented this requirement yesterday. So below is the direction to send HTML using email package.
execute command;
Create an HTML which will be accessible by SERVER.
below is the sample code for HTML at PROJECT/email.html to add email package
In SERVER/main.js file you need to import the package using,
above code is for gmail SMTP configuration enabled emailing. check email and Voila..!!!! it works. Enjoy! Happy coding!