Should I use a pickup directory or send straight to SMTP server?

Danny Daniel asked on August 24, 2021 12:38

I’m not even sure if this is the right place to ask this.

Does anyone know the difference between sending emails directly to (example) 5 MTAs at once and have it rotate evenly, or have it send to a pickup directory which then sends to the 5 MTAs from there?

What’s the benefit (if any) of the latter? Isn’t the former just more straight forward and faster?

Recent Answers


Dmitry Bastron answered on August 24, 2021 14:59

Hi Danny,

To speed up sending the emails it's always better to use API. For example, SendGrid offers REST API to send emails. All you need to do with Kentico is to implement your custom email provider: "send" and "send async" methods.

0 votesVote for this answer Mark as a Correct answer

Wei Wang answered on August 27, 2021 17:04

Hi Dmitry,

So before creating custom email provider in Kentico we need to code using SendGrid API for the send email function first?

thanks, Wei Wang

0 votesVote for this answer Mark as a Correct answer

Dmitry Bastron answered on August 30, 2021 09:01

Hi Wei,

Yes, you are right. Also, consider using SendGrid nuget package instead of implementing it from scratch. In this case it will be as simple as:

  • Create Kentico custom email provider
  • Inside provider, map "Kentico email" model to "Sendgrid API email" model
  • Call Sendgrid API using their library method
  • Also, you can store Sendgrid API connection details in Kentico settings, or your app setings
1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.