Skip to content

Part content trimming breaks attachments #398

Open
@michalriha

Description

@michalriha

Hi,
I have a problem with fetching fixed-width column CSV files as attachments. These files usualy have some empty spaces in the first column but https://github.com/Webklex/php-imap/blob/master/src/Part.php#L196 removes them, which breaks these files.

I could access the Part::$raw property, however the Attachment class does not provide acces to the underlying Part object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions