sendgrid / sendgrid-ruby

The Official Twilio SendGrid Led, Community Driven Ruby API Library
https://sendgrid.com
MIT License
620 stars 324 forks source link

SendGrid::DuplicatePersonalizationError #461

Closed netwire88 closed 3 years ago

netwire88 commented 3 years ago

Hi, I'm using the latest build and having issues with 2 related scenarios, see https://github.com/sendgrid/sendgrid-ruby/issues/445#issuecomment-785196150:

  1. upper vs. lower case - if I have test1@example.com and TEST1@EXAMPLE.COM in 1 field, i.e. to, cc, bcc, then the error is raised
  2. to/cc/bcc fields - if I have test1@example.com in to field and cc field, then it doesn't work. Similarly with to and bcc, and cc & bcc
thinkingserious commented 3 years ago

Hello @netwire88,

This error is raised whenever you have a duplicate email across to, cc or bcc. Please make sure that you have no duplicates across to, cc or bcc and note that duplication check is not case sensitive.

With best regards,

Elmer