How can I fix email confirmation - in .NET Core, it doesn't work

后端 未结 2 1917
灰色年华
灰色年华 2020-12-21 07:54

I already have a register action

public async Task OnPostAsync(string returnUrl = null)
{
            var useremail = _userManager.User         


        
2条回答
  •  伪装坚强ぢ
    2020-12-21 08:34

    "Solved" I asked Sendgrid, and I was told that I cannot use my yahoo email (or gmail,...) as the sender email; this is part of the answer: "Yahoo observes an email security standard called DMARC. DMARC instructs email providers to reject messages where the From domain is a Yahoo domain, but the message originates from a non-approved domain server/service." So I need to use my own mail domain;

提交回复
热议问题