Error when sending to multiple recipients

Created on 25 April 2023, over 1 year ago
Updated 3 May 2023, over 1 year ago

Problem/Motivation

Please see here for the original issue:

https://www.drupal.org/project/sendgrid_integration/issues/3318109#comme... πŸ› $emailAddress must be a valid email address Fixed

As it's been more than 1 month and the above issue was not reopened, I am creating a child issue here.

Copy/pasting error from πŸ› $emailAddress must be a valid email address Fixed

SendGrid\Exception\TypeException: "$emailAddress" must be a valid email address. Got: xxx@xxx.com in SendGrid\Helper\Assert::email() (line 68 of /code/vendor/fastglass/sendgrid/src/Helper/Assert.php).

xxx@xxx.com is the 2nd recipient (the email that I have for bcc).

Drupal 9.54
PHP 8.0.27
SendGrid Integration 8.x-2.1

Steps to reproduce

Use this module to send to multiple recipients. An easy way is to install and use Blind Carbon Copy β†’ and send a test email to at least 2 emails.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΉπŸ‡ΉTrinidad and Tobago xamount

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024