Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Dave Norris

    (@givingbacksmiles)

    I am having this same issue. Saying it is an issue with SendGrid does not help much.

    After looking into it, the array ccEmails and bccEmails both return empty and then throw the error mentioned above.

    @tneville the answer you gave is basically like saying, “Welp – I guess you will not be using SendGrid with Post SMTP then.” Yikes!!

    // add the cc recipients
                $ccEmails = array();
    			foreach ( ( array ) $message->getCcRecipients() as $recipient ) {
                    if ( ! in_array( $recipient->getEmail(), $duplicates ) ) {
                        $recipient->log($this->logger, 'Cc');
                        $ccEmails[] = new \SendGrid\Mail\Cc($recipient->getEmail(), $recipient->getName());
                        $duplicates[] = $recipient->getEmail();
                    }
    			}
                $email->addCcs($ccEmails);
    
                // add the bcc recipients
                $bccEmails = array();
    			foreach ( ( array ) $message->getBccRecipients() as $recipient ) {
                    if ( ! in_array( $recipient->getEmail(), $duplicates ) ) {
                        $recipient->log($this->logger, 'Bcc');
                        $bccEmails[] = new \SendGrid\Mail\Bcc($recipient->getEmail(), $recipient->getName());
                        $duplicates[] = $recipient->getEmail();
                    }
    			}
                $email->addBccs($bccEmails);
    Forum: Plugins
    In reply to: [Custom Login] CSS Inactive
    Thread Starter Dave Norris

    (@givingbacksmiles)

    I was able to edit the css associated and fix the issue. I do not know what changed as I did not alter css or images. However, I was able to fix this. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)