[BUG] Email confirmation
Describe the bug There is no email confirmation after registration
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior A clear and concise description of what you expected to happen.
Stack Trace If applicable, add in the error stack trace. By default, all the errors are logged to src/Bootsrapper/Logs/logs***.json. You can also find the stack trace details logged here.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
Are you using the default email providers? or have you switched to some other SMTPs? By default, registration mails don't go to the actual email ID. They get sent to the ethereal mailbox, whose auth config you can see in our appsettings for mail.
I have the same issue: No email confirmation is sent after register a user.
I have configured mail.json and i checked twice and i can confirm that the config is OK, but no email was sent...
Log: [11:02:15 ERR] Operation timed out after 120000 milliseconds System.TimeoutException: Operation timed out after 120000 milliseconds ---> System.Threading.Tasks.TaskCanceledException: A task was canceled. at MailKit.Net.NetworkStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) --- End of inner exception stack trace --- at MailKit.Net.NetworkStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) at MailKit.Net.Smtp.SmtpStream.ReadAheadAsync(Boolean doAsync, CancellationToken cancellationToken) at MailKit.Net.Smtp.SmtpStream.ReadResponseAsync(Boolean doAsync, CancellationToken cancellationToken) at MailKit.Net.Smtp.SmtpClient.ConnectAsync(String host, Int32 port, SecureSocketOptions options, Boolean doAsync, CancellationToken cancellationToken) at FSH.WebApi.Infrastructure.Mailing.SmtpMailService.SendAsync(MailRequest request, CancellationToken cancellationToken) in C:\Users\RaFiTa\Desktop\VSCodeAPI\StoreX-WebAPI\src\Infrastructure\Mailing\SmtpMailService.cs:line 75
What can i do? Thanks
Solved! I didn't figure out that it uses a TLS connection instead a SSL.
SSL port: 465 TLS port: 587
Just configure mail.json port to 587