Hello , thanks for read
this my code
imports/api/friends/methods.js
import {Meteor} from "meteor/meteor";
import {Accounts} from "meteor/accounts-base";
if (Meteor.isServer) {
Accounts.emailTemplates.siteName = "....";
Accounts.emailTemplates.from = "example01 <example01@gmail.com>";
Accounts.emailTemplates.verifyEmail.from = function () {
return "example01 <example01@gmail.com>";
};
Accounts.emailTemplates.verifyEmail.text = function(user, url) {
return '<h1>Thank you for your registration.</h1><br/><a href="' + url + '">Verify eMail</a>';
};
}
And this is the result:
As you can see, the format is ingnored by gmail. We can se the tags html <h1>
and <br>
Please help
Tags
Accounts.emailTemplates
Accounts.sendVerificationEmail