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

Allow storing attachment binary data within the clixml file #10

Conversation

jebbster88
Copy link

Occasionally I have scripts that generate an attachment and send an email within a loop. The current MailDaemon approach of storing the path with the email object would result in the final attachment being used for all emails when sent.

These changes add a -PersistAttachments switch to Send-MDMail which serializes the attachment binary into the clixml file.

@jebbster88
Copy link
Author

Additional commit allow -To and -Attachments to accept arrays. Added Bcc and Priority (using an enum for tab completion)

@FriedrichWeinmann
Copy link
Member

Heya @jebbster88 ,
sorry about the late response on this :(
Looks really good, merging this now, expect a release in the very near future

@FriedrichWeinmann FriedrichWeinmann merged commit 39a8ef4 into PowershellFrameworkCollective:development Sep 29, 2024
1 check failed
@FriedrichWeinmann FriedrichWeinmann mentioned this pull request Nov 11, 2024
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

Successfully merging this pull request may close these issues.

2 participants