Skip to content

SendEmailToExchangeServer loads entire attachment file into memory #67

@HiQ-wipa

Description

@HiQ-wipa

Whenever file attachments are used with SendEmailToExchangeServer, EmailTask.cs#L274 loads the entire attachment file into memory. This is a potential issue with huge attachments. Some memory could be saved by opening a FileStream and streaming the contents from that instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions