Drillster / drone-email

Drone plugin for sending email notifications
Apache License 2.0
46 stars 43 forks source link

Error while dialing SMTP server: EOF #64

Closed mashirozx closed 2 years ago

mashirozx commented 2 years ago
  - name: email notification on complete
    image: mashirozx/drone-email:latest-arm64
    settings:
      host: 
        from_secret: smtp_host
      port:
        from_secret: smtp_port
      username:
        from_secret: smtp_username
      password:
        from_secret: smtp_password
      from.address:
        from_secret: smtp_from_address
      from.name:
        from_secret: smtp_from_name
      subject: >
        {{#success build.status}}
          {{repo.owner}}/{{repo.name}} ({{build.branch}}) arm64 build #{{build.number}} succeeded
        {{else}}
          {{repo.owner}}/{{repo.name}} ({{build.branch}}) arm64 build #{{build.number}} failed
        {{/success}}
      body: >
        {{#success build.status}}
          {{repo.owner}}/{{repo.name}} ({{build.branch}}) arm64 build #{{build.number}} succeeded: {{build.link}}
        {{else}}
          {{repo.owner}}/{{repo.name}} ({{build.branch}}) arm64 build #{{build.number}} failed: {{build.link}}
        {{/success}}

ARM64 image build with command:

docker build -f Dockerfile.armhf -t mashirozx/drone-email:latest-arm64 .
image
mashirozx commented 2 years ago

Seems issue with my SMTP provider: https://mail.yeah.net