@@ -20,21 +20,75 @@ jobs:
2020 run :
2121 shell : bash
2222 steps :
23- - name : Send email
23+ - name : Send email via MS
24+ if : always()
24252526 with :
2627 host : smtp-mail.outlook.com
2728 # Optional port (defaults to 465)
2829 port : 587
2930 account : ${{ secrets.ASTERISKTEAMSA_USERNAME }}
3031 password : ${{ secrets.ASTERISKTEAMSA_PASSWORD }}
31- sender : Asterisk Team
32+ sender : Asterisk Development Team
323333343435 subject : mail title.
3536 body : your messages.
3637 # Optional content type (defaults to text/plain)
3738 contentType : text/plain
3839 # Optional attachment files (JSON type. require property 'path')
39- attachments : ' [{"path":"README.md"}]'
40+ attachments : ' [{"path":"LICENSE"}]'
41+
42+ - name : Send Release Announcements
43+ if : always()
44+ uses : dawidd6/action-send-mail@v4
45+ with :
46+ server_address : smtp-mail.outlook.com
47+ server_port : 587
48+ secure : true
49+ username : ${{ secrets.ASTERISKTEAMSA_USERNAME }}
50+ password : ${{ secrets.ASTERISKTEAMSA_PASSWORD }}
51+ subject : Test via MS2
52+ 53+ from :
Asterisk Development Team <[email protected] > 54+ body : " test email"
55+ 56+ ignore_cert : true
57+ convert_markdown : false
58+
59+ - name : Send email via GMAIL
60+ if : always()
61+ 62+ with :
63+ host : smtp.gmail.com
64+ # Optional port (defaults to 465)
65+ port : 465
66+ account : ${{ secrets.ASTERISKTEAMSA_USERNAME }}
67+ password : ${{ secrets.ASTERISKTEAMSA_TOKEN }}
68+ sender : Asterisk Development Team
69+ 70+ 71+ subject : test via gmail.
72+ body : your messages.
73+ # Optional content type (defaults to text/plain)
74+ contentType : text/plain
75+ # Optional attachment files (JSON type. require property 'path')
76+ attachments : ' []'
77+
78+ - name : Send Release Announcements
79+ if : always()
80+ uses : dawidd6/action-send-mail@v4
81+ with :
82+ server_address : smtp.gmail.com
83+ server_port : 465
84+ secure : true
85+ username : ${{ secrets.ASTERISKTEAMSA_USERNAME }}
86+ password : ${{ secrets.ASTERISKTEAMSA_TOKEN }}
87+ subject : Test via gmail
88+ 89+ from :
Asterisk Development Team <[email protected] > 90+ body : " test email"
91+ 92+ ignore_cert : true
93+ convert_markdown : false
4094
0 commit comments