Skip to content

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
@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