Starts in:
3 DAYS
7 HRS
37 MIN
15 SEC
Starts in:
3 D
7 H
37 M
15 S
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 November 20, 2024, 13:06