を私は、ユーザーが私のアプリに登録されると、電子メールの検証を設定しようとしていますが、私は「Internal Server Error」を受け取り作成するために私のコードですサインアップフォーム
<template name="LoginModal">
{{#if $not currentUser }}
{{> atForm}}
{{/if}}
</template>
//code inside the client folder to configure email verification
AccountsTemplates.configure({
confirmPassword:false,
termsUrl:'terms-of-use',
privacyUrl:'privacy',
sendVerificationEmail: true,
enforceEmailVerification:true,
forbidClientAccountCreation: true
});
//Here is my route to load the signup form
Router.route('/admin/addUser',{
action: function() {
BlazeLayout.render('master_layout',
{body:'LoginModal',dashboard:'UserDashboard',pageHeader:'AddUserHeader'});
}
});
//No any other routes for sign up has been configured.
//私は、送信者の電子メールアドを書くべき私が作成したユーザーのemail.Whereに電子メールを送信するためにこれを設定するにはどうすればよい
(Mail not sent; to enable sending, set the MAIL_URL environment variable.)
I20170311-20:56:01.885(5.5)? MIME-Version: 1.0
I20170311-20:56:01.886(5.5)? Date: Sat, 11 Mar 2017 15:26:01 +0000
I20170311-20:56:01.887(5.5)? From: "Meteor Accounts" <[email protected]>
を受信エラーress?
あなたが投稿したコードは罰金だ..あなたはどのようにルートを設定しているのあなたのコードを表示することができますか?問題が解消されたときに見たいものをコメントアウトしてみてください。 [This projcet](https://github.com/meteor/todos)は、それを比較したい場合はAccountsTemplatesを使用しています。 – mutdmour
私は現在屋外です。私は家に帰るとすぐにコードを掲示します。コードのどこかに送信者の電子メールアドレスを含める必要はありませんか?私はどこにも行っていません。 ... –
AccountsTemplatesがそのすべてを処理します。あなたが必要とするのはURLです。それ以外の場合は、サーバーのログ(端末)に電子メールが出力されます。 – mutdmour