Open Closed

Different 'From' and 'Reply To' email addresses #8300


User avatar
0
maggieryanmail@gmail.com created
  • ABP Framework version: v7.3.0
  • UI Type: Blazor Server
  • Database System: EF Core

Hello,

I am using the built in EmailSender to send emails in my Blazor Server app. I need to set a different 'Reply To' email address than the 'From' email address. Is this possible? Thank you!

            await _emailSender.SendAsync(
            email,
            subject,
            body);

1 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello ,

    Yes it is possible but you have to cusomize code at your end you can check here https://learn.microsoft.com/en-us/dotnet/api/system.net.mail.mailmessage?view=net-9.0

    This is the document of IEMailSender please check.

    Thank you.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09