Hi, I'm trying to send notifications to custom email addresses when the pipeline gets succeeded and failed. But when I'm trying to execute the below script I'm getting below error.
name: Send Email
if: success() # only if previous steps were successful
uses: dawidd6/action-send-mail@v2
with:
server_address: smtp.office365.com
server_port: 587
username: ${{ secrets.OUTLOOK_EMAIL }}
password: ${{ secrets.OUTLOOK_PASSWORD }}
subject: Github Actions job '${{ github.workflow }}' of '${{ github.repository }}' Succeded
body: The job '${{ github.job }}' in worflow '${{ github.workflow }}' of '${{ github.repository }}' succeded.
to: xxxx@xxx.com
from: Dinesh-Chekuru <${{ secrets.OUTLOOK_EMAIL }}>
Error: connect ETIMEDOUT 52.96.69.2:587
Could you please help me on the issue?
Hi, I'm trying to send notifications to custom email addresses when the pipeline gets succeeded and failed. But when I'm trying to execute the below script I'm getting below error.