krayin/laravel-crm · error · \Exception

Currently bulk processing is not supported for Sendgrid.

Error message

Currently bulk processing is not supported for Sendgrid.

What it means

Error "Currently bulk processing is not supported for Sendgrid." thrown in krayin/laravel-crm.

Source

Thrown at packages/Webkul/Email/src/InboundEmailProcessor/SendgridEmailProcessor.php:35

     */
    public function __construct(
        protected EmailRepository $emailRepository,
        protected AttachmentRepository $attachmentRepository,
        protected Parser $emailParser,
        protected HtmlFilter $htmlFilter
    ) {}

    /**
     * Process messages from all folders.
     */
    public function processMessagesFromAllFolders()
    {
        /**
         * SendGrid's Inbound Parse is a specialized tool for developers to handle incoming emails in
         * their applications, but it doesn't replace the full functionality of IMAP for typical
         * email client usage. Thats why we can't process the messages.
         */
        throw new \Exception('Currently bulk processing is not supported for Sendgrid.');
    }

    /**
     * Process the inbound email.
     */
    public function processMessage($message = null): void
    {
        $this->emailParser->setText($message);

        $email = $this->emailRepository->findOneWhere(['message_id' => $messageID = $this->emailParser->getHeader('message-id')]);

        if ($email) {
            return;
        }

        $headers = [
            'from' => $this->emailParser->parseEmailAddress('from'),
            'sender' => $this->emailParser->parseEmailAddress('sender'),

View on GitHub (pinned to 13d6988cda)

When it happens

Trigger: Thrown at packages/Webkul/Email/src/InboundEmailProcessor/SendgridEmailProcessor.php:35 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of krayin/laravel-crm@13d6988cda (2026-08-17). Data as JSON: /api/errors/e7296171ee219c25. Report an issue: GitHub.