Open Closed

Issue with emails sent through EmailSender #7405


User avatar
0
Voicebrook created

Hey

We're experiencing an issue with our emails, we have a service registered like this:

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IWelcomeEmailService))]
public class WelcomeEmailService : IWelcomeEmailService, ITransientDependency

public interface IWelcomeEmailService
{
    Task SendWelcomeEmailAsync(string password, string userName, string email, string tenantName);
}

in which we have a method that uses the template renderer and email service. Debugging the service works just fine, but once we launch the app to our infrastructure there are some emails that we don't receive, we added the normal ILogger to find more about the root cause but we don't get logs from that specific service.


1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    All emails not received or some emails not received?

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11