Skip to content

Processing email attachement #2344

@krayinfan

Description

@krayinfan

Bug report

Title

While processing emails from a Gmail account with the command :
php artisan inbound-email:process

Issue Description

I get the following error:
In AttachmentRepository.php line 50:

Webkul\Email\Repositories\AttachmentRepository::prepareData(): Argument #2 ($attachment) must be of type Illuminate\Http\UploadedFi
le, Webklex\PHPIMAP\Attachment given, called in /var/www/krayin/packages/Webkul/Email/src/Repositories/AttachmentRepository.php on
line 34

Preconditions

Please provide as detailed information about your environment as possible.

1. Latest Krayin version as of September 2025
2. Running Live server on Debian 12

Steps to reproduce

I am not sure what attachment created that problem since I don't know which emails create a problem.

Expected result

Actual result

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions