Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not really an issue but rather an ask... #189

Open
Rickcau opened this issue Dec 29, 2023 · 3 comments
Open

Not really an issue but rather an ask... #189

Rickcau opened this issue Dec 29, 2023 · 3 comments

Comments

@Rickcau
Copy link

Rickcau commented Dec 29, 2023

Can you provide an example in the readme of using Hotmail.com, Live.com, outlook.com email addresses? I have tried all the various SMTP settings that I can find online and nothing works for these servers. It would be great to have options other than gmail.

@EmanuelaBoros
Copy link

Same question.

@dawidd6
Copy link
Owner

dawidd6 commented Apr 4, 2024

I will gladly accept a PR adding those examples 🙂

@IgnacioHeredia
Copy link

I had the same problem. I ended up calling a custom Python script I wrote.
The weird thing is that the exact same configuration worked for the Python script (step 1) but not for this action (step 2):

    steps:
      - name: Send mail python
        run: |
          curl -s https://gist.githubusercontent.com/IgnacioHeredia/5f8fd2fc7d56763e4060c7b8fc8e0212/raw/3b5915cf3b8e0fd3c67b7ef7a019175116f0c367/send_email.py | \
          python - \
          --from_user ${{secrets.FROM_MAIL_USERNAME}} \
          --from_pwd ${{secrets.FROM_MAIL_PASSWORD}} \
          --to_user ${{secrets.TO_MAIL_USERNAME}} \
          --subject "Failed Github workflow"          

      - name: Send mail action
        uses: dawidd6/action-send-mail@v3
        with:
          server_address: smtp-mail.outlook.com
          server_port: 587
          secure: true
          username: ${{secrets.FROM_MAIL_USERNAME}}
          password: ${{secrets.FROM_MAIL_PASSWORD}}
          subject: Failed Github workflow
          to: ${{secrets.TO_MAIL_USERNAME}}
          from: ${{secrets.FROM_MAIL_USERNAME}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants