Skip to content

SMTP Files Generically #69

Description

@silverbullettruck2001

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.

Image
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions