Sending emails to commit authors

a.truskinger's Avatar

a.truskinger

18 May, 2017 07:23 AM

Hi,

I've got my notifications section of my appveyor.yml setup like this:

notifications:
  - provider: Email
    to:
      - '{{commitAuthorEmail}}'
    on_build_status_changed: true
    on_build_failure: true
    on_build_success: true

The above matches the instructions here https://www.appveyor.com/docs/notifications/#appveyoryml-configuration

However, I do not get sent emails (either does the other contributor), and the build results page shows the following notification:

Error sending Email notification: Error sending email message

Any idea what the problem is?

Thanks

  1. Support Staff 1 Posted by Ilya Finkelshte... on 18 May, 2017 10:02 AM

    Ilya Finkelshteyn's Avatar

    Could you please check that committer does not committers do not keep addresses private. Please let us know if this helps.

  2. 2 Posted by a.truskinger on 19 May, 2017 01:11 AM

    a.truskinger's Avatar

    Hi Ilya,

    Thanks for the response.

    I've added a - ps: 'ls env:' to my appveyor.yml. Wit that I can see in the APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL environment variable which is correctly set to [REDACTED]@gmail.com.

    We still get the error sending email notification:

    Error sending email screenshot

    Any further thoughts?

    Thanks,

  3. Support Staff 3 Posted by Ilya Finkelshte... on 21 May, 2017 08:25 AM

    Ilya Finkelshteyn's Avatar

    Sorry, it seems that we have issue with this functionality. Looking if we can fix this quickly. For now I can propose you the following workaround:

    • Have all your contributors added as users to AppVeyor account. If person already registered as user for some different organization in AppVeyor, add this person as a collaborator
    • Ask each person to setup Global email ratification settings. To make it less noisy it can be set like on attached picture.

    Please let us know if workaround works. Sorry once again for misleading doc.

    Ilya.

  4. Support Staff 4 Posted by Ilya Finkelshte... on 22 May, 2017 03:45 PM

    Ilya Finkelshteyn's Avatar

    Filed this GitHub issue to track it.

  5. 5 Posted by a.truskinger on 23 May, 2017 12:08 AM

    a.truskinger's Avatar

    Hi Ilya,

    Thanks for filing that issue.

    In the meantime, I've tried setting up the alternative notifications which seem to work ok.

    Thanks,

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac