Open Closed

Integration with SendGrid #3296


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)
  • 0
    maliming created
    Support Team

    hi

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

  • 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.

  • 0
    maliming created
    Support Team

    HI

    We will discuss, Thanks.

  • 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

  • 0
    maliming created
    Support Team

    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