I use this explanation

from here:
SendGrid As a smart host .
These are the settings I worked with and I want to make sure they are correct or not
Because it does not work with me and I want to know where is wrong?
↓
Section: AUTH
Code:
sendgrid_login:
driver = plaintext
public_name = LOGIN
client_send = : cpanel:SG.xxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxx
↨
Section: PREROUTERS
Code:
send_via_sendgrid:
driver = manualroute
domains = ! +local_domains
transport = sendgrid_smtp
route_list = "* smtp.sendgrid.net::587 byname"
host_find_failed = defer
no_more
↨
Section: TRANSPORTSTART
Code:
sendgrid_smtp:
driver = smtp
hosts = smtp.sendgrid.net
hosts_require_auth = smtp.sendgrid.net
hosts_require_tls = smtp.sendgrid.net
↨
Photo from Sendgrid
What is wrong, sir, in these places
Does it have to be the name? cpanel like in the picture
Or API Key ID: in the picture
An example of what I mean
Or is there something else
↓
Code:
client_send = : cpanel:SG.xxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxx
Code:
client_send = : API Key ID:SG.xxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxx
cpanel Or API Key ID:
xxxxxxx
Any of them are correct ؟