Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Michele Benolli 18 posts 126 karma points
    24 days ago
    Michele Benolli

    FluentEmail configuration

    How can I correctly configure and use the FluentEmail library in Umbraco 8?

  • Alex Skrypnyk 6048 posts 23038 karma points MVP 5x admin c-trib
    15 days ago
    Alex Skrypnyk

    Hi Michele

    Please, add this library to your solution and add the needed code to the sending code, nothing really complicated, what is the issue in your case?

    Thanks, Alex

  • Michele Benolli 18 posts 126 karma points
    15 days ago
    Michele Benolli

    Hi Alex, thank you for the answer. Basically, I'm not able to register the FluentEmail service as in a normal .Net application, using the Microsoft.DependencyInjection.IServicecollection, using their extension method. In the official documentation (

    public void ConfigureServices(IServiceCollection services)
        .AddFluentEmail("[email protected]")
        .AddSmtpSender("localhost", 25);

    Umbraco has its own dependency injection classes and methods, and I just don't understand how to register the FluentEmail services.

Please Sign in or register to post replies

Write your reply to: