FluentEmail
FluentEmail copied to clipboard
ASP.Net Core + SendGrid Email not receiving
Hello,
I have been trying to perform a sign up email and while I am getting a success, I am not getting the email. Here is my source code:
var response = await _emailService.To(user.UserName)
.Subject("Confirm your email address")
.Body("Hello<br>Welcome. Please verify your email by clicking on this URL: " + confirmationUrl + "<br>Best Regards,<br>Farrukh Javeid<br>CEO", true)
.SendAsync();
return response;
When I check the response, it says: Error Message: Count 0 Message Id: null Successful: true
I have checked SendGrid as well and I cannot see it's request as well. Can you please help me out with this issue?