1
我有运行的应用程序发送电子邮件/帐户名称创建的情况下验证电子邮件,但它不会发送验证电子邮件,如果我登录谷歌/脸谱;这可能是由于services.google.email中的电子邮件地址;如果存在,我如何在Accounts.emailTemplates中将字段'设置为'。验证电子邮件与帐户谷歌,帐户Facebook的
configureAccounts = function() {
setMailVerification(enableMailVerification);
};
setMailVerification = function() {
Accounts.emailTemplates.from = '[email protected]';
Accounts.emailTemplates.verifyEmail = {
subject : function(user) {
return "Confirmation"
},
text : function(user, url) {
var greeting = (user.profile && user.profile.nick) ? ("Hello " + user.profile.nick + ",") : "Hello,";
return greeting +
"\n\n" + "Thank you for registration."+
"\n" + "To confirm click the following link:" + url +
"\n\n" + "thank you."
}
};
Accounts.config({
sendVerificationEmail : true,
forbidClientAccountCreation : false
});
};
请让我知道,如果你在那里我应该把... services.google.email在谷歌的登录名和同为Facebook的情况下...
换句话说我怎么能发送的验证电子邮件Meteor.user()services.google.email ..(甚至回顾sendUserVerificationEmail与电子邮件不工作,因为它是不是在“电子邮件”)