• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question SendGrid Automation

sercan

New Pleskian
Hello there,
Since I installed Plesk on Google Cloud, I needed to set up a 3rd party mail service. I also installed SendGrid and started using it.

But I have a problem; When I add a new domain to my Plesk server, I have to go to sendgird and perform "Sender Authentication". Can I have Plesk do this automatically?
 
That's going to be quite a challenge and a fair bit of work. Does SendGrid have an API trough which you can add domains for authentication?

If they do have an API, this is might be a solution: you could setup an event in the Plesk Event Manager for when a new domain is created. Which runs a script that connects to the SendGrid API and adds the domain to SendGrid and retrieves the value for the DNS record. Then use the Plesk CLI to create a DNS record for the domain with the authentication value.

This is just from the top of my head. I am not familiar with SendGrid. I don't know if the have API if they do, what is supports.
 
That's going to be quite a challenge and a fair bit of work. Does SendGrid have an API trough which you can add domains for authentication?

If they do have an API, this is might be a solution: you could setup an event in the Plesk Event Manager for when a new domain is created. Which runs a script that connects to the SendGrid API and adds the domain to SendGrid and retrieves the value for the DNS record. Then use the Plesk CLI to create a DNS record for the domain with the authentication value.

This is just from the top of my head. I am not familiar with SendGrid. I don't know if the have API if they do, what is supports.
Yes it has API. I'm new to Plesk. I just learned how to use Events.

Since this was challenging I ended up using a service provider where port 25 was not blocked. But people who have this problem can do it using API and Plesk Events.

Thanks.
 
Back
Top