-
Notifications
You must be signed in to change notification settings - Fork 0
suglasp/pwsh_exchange_auth_smtp_mailfunction
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Example code to send a authenticated mail through an on-premise Exchange server from Powershell. There are two scripts : - pwsh_exch_smtp_gencred.ps1 : generates a hashed clixml file that holds the credential file for the SMTP authentication. - pwsh_exch_smtp_send.ps1 : example function for sending an authenticated mail, loading the clixml file. The function can include attachments. Other files: - smtp_addresses.txt : a text file that holds mail adresses where the function needs to send to (recipients) - test.txt : a demo file to show the function can send attachments.
About
Powershell handy function to send authenticated smtp mailing through Exchange mail server
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published