ABP Framework version: v9.0.2
UI Type: Blazor Server
Database System: EF Core (SQL Server)
Tiered (for MVC) or Auth Server Separated (for Angular): no
Exception message and full stack trace:
Steps to reproduce the issue:
Create a new Abp solution with blazor server with multitenancy with working db connection + run dbmigrator
Comment out to not use the nullemailsender in debug mode
Install Mailkit in the Domain module (Since we get a warning if we try to send a test email without it)
Set up valid email credentials(sendgrid in our case) and send a test mail to email address X which is sent and recieved ok
Create a new user with the email X
Log out and try to use the forgot password function with the new users email, according to the UI an email is sent
No email is recieved in the user email X
Do we need to take any extra/other steps for the forgot password function to work since the test email is working fine?
Also, according to the Account Pro docs the module implements email confirmation. We have not gotten this to work either, no confirmation email is sent to the new user(With and without email confirmed box checked). Do we need to implement this ourselves? This also applies to when we register a new tenant, no confirmation email is sent to the admin email address. So if you could explain what we can expect to work out of the box when creating a abp project and what we need to implement ourselves regarding this that would be appriciated! Thanks!
9 Answer(s)
-
0
Hi,
Install Mailkit in the Domain module (Since we get a warning if we try to send a test email without it)
Did you receive the test email?
-
0
Hi, Without Mailkit installed, no. With MailKit installed, yes.
-
0
HI,
I can't reproduce the problem.
My steps:
- Create a new project with Blazor server UI
- Install
Volo.Abp.MailKit
to theDomain
project and addtypeof(AbpMailKitModule)
- Remove
context.Services.Replace(ServiceDescriptor.Singleton<IEmailSender, NullEmailSender>());
- Add the correct email settings
- Forget password
-
0
Hi, I have tried to reproduce the error as well, without success. I will continue to try to find the issue why this is happening in our specific project, I will get back to you regarding this if there are any progress. Thanks for your help!
-
0
Hi, I have tried to reproduce the error as well, without success. I will continue to try to find the issue why this is happening in our specific project, I will get back to you regarding this if there are any progress. Thanks for your help!
Thanks. We will wait for a response from you. Regards.
-
0
While we are working on this, could you please answer what emailing features we can expect work out of the box from the identity module beside the forgot password link email? For instance, should the new user get a "confirm email" on created if we dont check the "Email confirmed" box?
-
0
-
0
Hi, thanks for the reply. We did not have the "Send confirmation mail" checkbox:
After trying different settings we now understand that "Require confirmed email" in Administration/Settings/Identity Management is required to be checked for this feature to be enabled at all, maybe this could be clarified some way, we may do a pull request on this. Thanks again!
-
0
Hi,
okay : )