You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use the message format v3.1 because it allows a beter handling of cc & bcc addresses. However, when switching my code from v3 to v3.1, the mailjet API returns me an error:
{"ErrorIdentifier":"caac57f0-5f98-4d52-8c8b-f606caefd1ce","ErrorCode":"send-0018","StatusCode":400,"ErrorMessage":"Property value cannot be null.","ErrorRelatedTo":["ReplyTo.Name"]}
If I look at the code, it seems that MailjetSwiftMailer tests if the replyTo obtained from the message is an array or not, and does not test if the name is empty or not before setting it.
It also seems that swift always provides an array, even if the message contains only one address.
The text was updated successfully, but these errors were encountered:
ghusse
pushed a commit
to ghusse/MailjetSwiftMailer
that referenced
this issue
Feb 25, 2019
I tried to use the message format v3.1 because it allows a beter handling of cc & bcc addresses. However, when switching my code from v3 to v3.1, the mailjet API returns me an error:
If I look at the code, it seems that
MailjetSwiftMailer
tests if the replyTo obtained from the message is an array or not, and does not test if the name is empty or not before setting it.It also seems that swift always provides an array, even if the message contains only one address.
The text was updated successfully, but these errors were encountered: