I am trying to use this extension, but it fails every time. Below is the task config. When the task runs all I get for messaging is "failed to send email" which doesn't give me a lot of details to figure out what's wrong. I obfuscated the details, but I have already validated that I can generate emails manually from the build machines using PowerShell. So I know the credentials and server information is valid.
steps:
- task: SendEmail@2
displayName: Send email
inputs:
SmtpServer: 'smtp.server.com'
SmtpPort: '1225'
UseSsl: true
SmtpUsername: 'my@email.com'
SmtpPassword: 'somePassword
To: 'test@test.com'
Subject: 'Test email from Azure DevOps'
Body: 'I did a thing'
BodyAsHtml: false
I am trying to use this extension, but it fails every time. Below is the task config. When the task runs all I get for messaging is "failed to send email" which doesn't give me a lot of details to figure out what's wrong. I obfuscated the details, but I have already validated that I can generate emails manually from the build machines using PowerShell. So I know the credentials and server information is valid.