Open lopenchi opened 2 years ago
Hi @lopenchi! Thanks for bringing this to our attention. This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog.
@JenniferMah Can you send me the link for the ticket ? I would like to +1
@lopenchi Putting a 👍 on the issue summary is what's needed.
Issue Summary
Checking the request body for
mail/send
(https://docs.sendgrid.com/api-reference/mail-send/mail-send), it was discovered that helper classes provided in this library can be improvedErrors found:
setObjectName
, but in this case isaddFrom
as the from property is an array, but it is an objectCode: https://github.com/sendgrid/sendgrid-php/blob/3dcfc4db6583d5fa581248bb486418963804620d/lib/mail/Personalization.php#L69
This is also confusing because in Mail class the method is
setFrom