@@ -20,57 +20,43 @@ jobs:
2020 run :
2121 shell : bash
2222 steps :
23- - name : Send email via MS
23+ - name : Send Release Announcements
2424 if : always()
25- uses : devellany/ send-mail@v1.0.2
25+ uses : dawidd6/action- send-mail@v6
2626 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- from : asteriskteamsa@sangoma.com
27+ server_address : ${{ vars.ASTERISKTEAM_SES_SMTP_HOST }}
28+ server_port : 465
29+ # ${{ vars.ASTERISKTEAM_SES_SMTP_PORT }}
30+ secure : true
31+ username : ${{ secrets.ASTERISKTEAM_SES_KEY_ID }}
32+ password : ${{ secrets.ASTERISKTEAM_SES_KEY_SECRET }}
33+ subject : Test via SES
3534 to : gjoseph@sangoma.com
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 : ' []'
35+ from : Asterisk Development Team <asteriskteam@sangoma.com>
36+ envelope_from : asteriskteam@sangoma.com
37+ body : " test email"
38+ reply_to : no-reply@sangoma.com
39+ ignore_cert : true
40+ convert_markdown : false
41+ nodemailerlog : true
42+ nodemailerdebug : true
4243
4344 - name : Send Release Announcements
44- if : always()
45- uses : dawidd6/action-send-mail@v4
45+ if : always
46+ uses : dawidd6/action-send-mail@v6
4647 with :
47- server_address : smtp.office365 .com
48- server_port : 587
49- secure : false
50- username : ${{ secrets.ASTERISKTEAMSA_USERNAME }}
51- password : ${{ secrets.ASTERISKTEAMSA_PASSWORD }}
52- subject : Test via MS2
48+ server_address : smtp.gmail .com
49+ server_port : 465
50+ secure : true
51+ username : ${{secrets.ASTERISKTEAMSA_GMAIL_ACCT }}
52+ password : ${{secrets.ASTERISKTEAMSA_GMAIL_TOKEN }}
53+ subject : Test via GMAIL
5354 to : gjoseph@sangoma.com
54- from : asteriskteamsa@sangoma.com
55+ from : Asterisk Development Team <asteriskteam@sangoma.com>
56+ envelope_from : asteriskteam@sangoma.com
5557 body : " test email"
5658 reply_to : no-reply@sangoma.com
5759 ignore_cert : true
5860 convert_markdown : false
59-
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- from-email : asteriskteamsa@sangoma.com
68- to-email : gjoseph@sangoma.com
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-
61+ nodemailerlog : true
62+ nodemailerdebug : true
0 commit comments