Forum Discussion

StuartBT's avatar
StuartBT
Copper Contributor
Nov 28, 2022

Unable to send email using Power Shell

I am trying to send a mail message using Power Shell   I am using the following script: $credential = Get-Credential   $mailParams = @{ SmtpServer = 'smtp.office365.com' Port = '587' # or '25'...
  • Kidd_Ip's avatar
    Nov 29, 2022

    StuartBT 

    Please check security defaults or MFA was enabled for your tenant and mailbox?

Resources