Open Closed

Integration with SendGrid #3296


User avatar
0
viswajwalith created
  • ABP Framework version: v5.3
  • UI type: MVC
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Is there any process to integrate with SendGrid for sending the emails in the place of SMTP? we know this can be customized but just would like to know is there any provision by default....


5 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You just need to replace the default mailing service, it's that simple.

  • User Avatar
    0
    viswajwalith created

    hi

    You just need to replace the default mailing service, it's that simple.

    Ok Means this is not out of box functionality. I think you guys may need to think to have a optional configuration for SendGrid Integration.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    HI

    We will discuss, Thanks.

  • User Avatar
    0
    viswajwalith created

    default mailing service

    Hi @maliming , our team didn't find the respective file which you have mentioned, if possible can you please share the name/details of the respective file as pointer?

    Thanks in Advance. If we found the same in meantime will post here for reference

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    [Dependency(ServiceLifetime.Transient, ReplaceServices = true)]
    public class MyEmailSender : EmailSenderBase, ITransientDependency
    {
    

    https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.Emailing/Volo/Abp/Emailing/Smtp/SmtpEmailSender.cs#L13

    If you using MailKit. https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.MailKit/Volo/Abp/MailKit/MailKitSmtpEmailSender.cs#L16

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11