Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for adding attachments as LinkedResources in MailMessage #376

Open
johnwc opened this issue Feb 27, 2024 · 1 comment
Open

Comments

@johnwc
Copy link

johnwc commented Feb 27, 2024

Describe the solution you'd like
We need to be able to add attachments that are considered LinkedResources to the MailMessage object, so the attached/embedded images can be used within the html with their ContentId. I will create a PR for this update.

@jamesmh Within this PR, is it ok if I add a new property to the Attachment class that allows using a Stream? So that a developer can pass a byte array or a Stream.

@johnwc
Copy link
Author

johnwc commented Mar 8, 2024

@jamesmh thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant