Sending Email with PowerShell and Exchange Online

%3CLINGO-SUB%20id%3D%22lingo-sub-304763%22%20slang%3D%22en-US%22%3ESending%20Email%20with%20PowerShell%20and%20Exchange%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-304763%22%20slang%3D%22en-US%22%3E%3CP%3E%3CBR%20%2F%3EYou%20can%20use%20the%20Send-MailMessage%20cmdlet%20in%20a%20PowerShell%20script%20to%20send%20mail%20messages%20via%20Exchange%20Online.%20And%20sometimes%20your%20IP%20address%20might%20be%20listed%20as%20a%20spammer%2C%20which%20is%20bad.%20All%20in%20all%2C%20authenticated%20client%20submission%20seems%20best.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Foffice365itpros.com%2F2018%2F12%2F20%2Fsend-mailmessage-methods%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Foffice365itpros.com%2F2018%2F12%2F20%2Fsend-mailmessage-methods%2F%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-304763%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
MVP


You can use the Send-MailMessage cmdlet in a PowerShell script to send mail messages via Exchange Online. And sometimes your IP address might be listed as a spammer, which is bad. All in all, authenticated client submission seems best.

https://office365itpros.com/2018/12/20/send-mailmessage-methods/

0 Replies