@@ -20,57 +20,23 @@ jobs:
2020 run :
2121 shell : bash
2222 steps :
23- - name : Send email via MS
24- if : always()
25- 26- with :
27- host : smtp-mail.outlook.com
28- # Optional port (defaults to 465)
29- port : 587
30- account : ${{ secrets.ASTERISKTEAMSA_USERNAME }}
31- password : ${{ secrets.ASTERISKTEAMSA_PASSWORD }}
32- secure : false
33- sender : Asterisk Development Team
34- 35- 36- subject : mail title.
37- body : your messages.
38- # Optional content type (defaults to text/plain)
39- contentType : text/plain
40- # Optional attachment files (JSON type. require property 'path')
41- attachments : ' []'
42-
4323 - name : Send Release Announcements
4424 if : always()
45- uses : dawidd6/action-send-mail@v4
25+ uses : dawidd6/action-send-mail@v6
4626 with :
47- server_address : smtp.office365.com
48- server_port : 587
27+ server_address : ${{ vars.ASTERISKTEAM_SES_SMTP_HOST }}
28+ server_port : ${{ vars.ASTERISKTEAM_SES_SMTP_PORT }}
4929 secure : false
50- username : ${{ secrets.ASTERISKTEAMSA_USERNAME }}
51- password : ${{ secrets.ASTERISKTEAMSA_PASSWORD }}
30+ username : ${{ secrets.ASTERISKTEAM_SES_KEY_ID }}
31+ password : ${{ secrets.ASTERISKTEAM_SES_KEY_SECRET }}
5232 subject : Test via MS2
533354- 34+ from :
Asterisk Development Team <[email protected] > 35+ nodemailerlog : true
36+ nodemailerdebug : true
37+ 5538 body : " test email"
56- reply_to : no-reply @sangoma.com
39+ # reply_to: noreply+asteriskteam @sangoma.com
5740 ignore_cert : true
5841 convert_markdown : false
5942
60- - name : Send Email
61- if : always()
62- uses : hilarion5/send-mail@v1
63- with :
64- smtp-server : smtp-mail.outlook.com
65- smtp-port : 587
66- smtp-secure : false
67- 68- 69- username : ${{ secrets.ASTERISKTEAMSA_USERNAME }}
70- password : ${{ secrets.ASTERISKTEAMSA_PASSWORD }}
71- subject : Test Email
72- body : This is a test email sent from GitHub Actions.
73- html : |
74- <h1>This is a test email</h1>
75- <p>Test Paragraph</p>
76-
0 commit comments