Gmail cannot receive email notifications

My build is: https://travis-ci.org/cotes2020/cotes-blog-ci/builds/562887704

I intentionally deleted some files to trigger a build failure, but the email address was not notified.

Is there something wrong with my email address?

notifications:
  email:
    recipients:
       - username@gmail.com
    on_success: never

My email address has been registered on Github, and TravisCI email notifications can be received normally this January.

According to https://docs.travis-ci.com/user/notifications/#missing-build-notifications, sending e-mails is restricted to addresses that are registered and verified on GitHub. They are also disabled for PR builds.

https://docs.travis-ci.com/user/notifications/#how-is-the-build-email-receiver-determined also seems to imply that it must belong to an account that has access to the repo the commit being built has been pushed into – though I would test that to be sure.

Thank you very much for your response.

I’m sure that there are no email account or repository access rights issues. This email notification configuration has been in use since November 2018 (in some of my other projects) and will be available until January this year.

A few minutes ago, I tried to add a new qq.com notification email address for the test project. The new address received a ‘build failed’ notification normally, but gmail.com mailbox still did not respond.

https://travis-ci.org/cotes2020/cotes-blog-ci/jobs/562917749/config

notifications:
  email:
    recipients:
       - primary@gmail.com        # the repository owener's email address, get no notification when build fails.
       - newlyadded@qq.com        # newly added, the other GitHub acount's email, get notification normally !
    on_success: never

My gmail.com email address does not have any email blocking rules for Travis. Can you check the system log to see if there are any new clues?

1 Like

Today, I found that all notifications are back to normal, which is really weird.:joy::joy::joy::joy: