question

JChua avatar image
JChua asked

SMTP Add-On Using SendGrid

Hi,

We were trying to use SendGrid in the SMTP Add-On, instead of Gmail. We wanted to customize our email templates using our own domain's emails.

SendGrid has an API key and password similar to google's email and app password. But when we were trying to trigger the email sending through SendGrid, the email doesn't go through. When we tried via the Gmail, it was okay.

In the Data Explorer, it returns this error:

"ErrorName": "SmtpServerGeneralFailure",
    "ErrorMessage": "Syntax error, command unrecognized. The server response was: Authentication failed",

We're not sure what to do after this. Anyone can give us advice or has tips for this?

Partner Add-ons
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Sarah Zhang avatar image
Sarah Zhang answered

We tested to integrate the SendGrid’s own SMTP server with our Add-on. It can send the email using our API correctly. As this thread said, the SmtpServerGeneralFailure is generally caused by the invalid certificates. You can try to consult the validity of certificates with your certificates provider to research the question further.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.