@@ -20,57 +20,221 @@ jobs:
2020 run :
2121 shell : bash
2222 steps :
23- - name : Send email via MS
24- if : always()
25- uses : devellany/ send-mail@v1.0.2
23+ - name : Send Release Announcements SES no envelope
24+ if : false
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 }}
27+ server_address : email-smtp.us-east-1.amazonaws.com
28+ server_port : 587
3229 secure : false
33- sender : Asterisk Development Team
34- from : asteriskteamsa@sangoma.com
30+ username : ${{ secrets.ASTERISKTEAM_SES_KEY_ID }}
31+ password : ${{ secrets.ASTERISKTEAM_SES_KEY_SECRET }}
32+ subject : Test via SES
33+ to : gjoseph@sangoma.com
34+ from : Asterisk Team <asteriskteam@sangoma.com>
35+ body : " test email"
36+ reply_to : no-reply@sangoma.com
37+ ignore_cert : true
38+ convert_markdown : false
39+ nodemailerlog : true
40+ nodemailerdebug : true
41+
42+ - name : Send Release Announcements SES no envelope2
43+ if : false
44+ uses : dawidd6/action-send-mail@v6
45+ with :
46+ server_address : email-smtp.us-east-1.amazonaws.com
47+ server_port : 587
48+ secure : false
49+ username : ${{ secrets.ASTERISKTEAM_SES_KEY_ID }}
50+ password : ${{ secrets.ASTERISKTEAM_SES_KEY_SECRET }}
51+ subject : Test via SES
3552 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 : ' []'
53+ from : asteriskteam@sangoma.com
54+ body : " test email"
55+ reply_to : no-reply@sangoma.com
56+ ignore_cert : true
57+ convert_markdown : false
58+ nodemailerlog : true
59+ nodemailerdebug : true
60+
61+ - name : Send Release Announcements SES no envelope3
62+ if : false
63+ uses : dawidd6/action-send-mail@v6
64+ with :
65+ server_address : email-smtp.us-east-1.amazonaws.com
66+ server_port : 587
67+ secure : false
68+ username : ${{ secrets.ASTERISKTEAM_SES_KEY_ID }}
69+ password : ${{ secrets.ASTERISKTEAM_SES_KEY_SECRET }}
70+ subject : Test via SES
71+ to : gjoseph@sangoma.com
72+ from : <asteriskteam@sangoma.com>
73+ body : " test email"
74+ reply_to : no-reply@sangoma.com
75+ ignore_cert : true
76+ convert_markdown : false
77+ nodemailerlog : true
78+ nodemailerdebug : true
79+
80+ - name : Send Release Announcements SES envelope_from
81+ if : false
82+ uses : dawidd6/action-send-mail@v6
83+ with :
84+ server_address : email-smtp.us-east-1.amazonaws.com
85+ server_port : 587
86+ secure : false
87+ username : ${{ secrets.ASTERISKTEAM_SES_KEY_ID }}
88+ password : ${{ secrets.ASTERISKTEAM_SES_KEY_SECRET }}
89+ subject : Test via SES
90+ to : gjoseph@sangoma.com
91+ from : Asterisk Team # <asteriskteam@sangoma.com>
92+ envelope_from : asteriskteam@sangoma.com
93+ body : " test email"
94+ reply_to : no-reply@sangoma.com
95+ ignore_cert : true
96+ convert_markdown : false
97+ nodemailerlog : true
98+ nodemailerdebug : true
99+
100+ - name : Send Release Announcements SES envelope_from2
101+ if : false
102+ uses : dawidd6/action-send-mail@v6
103+ with :
104+ server_address : email-smtp.us-east-1.amazonaws.com
105+ server_port : 587
106+ secure : false
107+ username : ${{ secrets.ASTERISKTEAM_SES_KEY_ID }}
108+ password : ${{ secrets.ASTERISKTEAM_SES_KEY_SECRET }}
109+ subject : Test via SES
110+ to : gjoseph@sangoma.com
111+ from : Asterisk Team <asteriskteam@sangoma.com>
112+ envelope_from : asteriskteam@sangoma.com
113+ body : " test email"
114+ reply_to : no-reply@sangoma.com
115+ ignore_cert : true
116+ convert_markdown : false
117+ nodemailerlog : true
118+ nodemailerdebug : true
42119
43- - name : Send Release Announcements
120+ - name : Send Release Announcements SES envelope_to
44121 if : always()
45- uses : dawidd6/action-send-mail@v4
122+ uses : dawidd6/action-send-mail@v6
46123 with :
47- server_address : smtp.office365 .com
124+ server_address : email- smtp.us-east-1.amazonaws .com
48125 server_port : 587
49126 secure : false
50- username : ${{ secrets.ASTERISKTEAMSA_USERNAME }}
51- password : ${{ secrets.ASTERISKTEAMSA_PASSWORD }}
52- subject : Test via MS2
127+ username : ${{ secrets.ASTERISKTEAM_SES_KEY_ID }}
128+ password : ${{ secrets.ASTERISKTEAM_SES_KEY_SECRET }}
129+ subject : Test via SES
130+ to : gjoseph@sangoma.com
131+ from : Asterisk Team <asteriskteam@sangoma.com>
132+ envelope_to : gjoseph@sangoma.com
133+ body : " test email"
134+ reply_to : no-reply@sangoma.com
135+ ignore_cert : true
136+ convert_markdown : false
137+ nodemailerlog : true
138+ nodemailerdebug : true
139+
140+ - name : Send Release Announcements SES envelope_to/from
141+ if : false
142+ uses : dawidd6/action-send-mail@v6
143+ with :
144+ server_address : email-smtp.us-east-1.amazonaws.com
145+ server_port : 587
146+ secure : false
147+ username : ${{ secrets.ASTERISKTEAM_SES_KEY_ID }}
148+ password : ${{ secrets.ASTERISKTEAM_SES_KEY_SECRET }}
149+ subject : Test via SES
150+ to : gjoseph@sangoma.com
151+ from : Asterisk Team <asteriskteam@sangoma.com>
152+ envelope_from : asteriskteam@sangoma.com
153+ envelope_to : gjoseph@sangoma.com
154+ body : " test email"
155+ reply_to : no-reply@sangoma.com
156+ ignore_cert : true
157+ convert_markdown : false
158+ nodemailerlog : true
159+ nodemailerdebug : true
160+
161+ - name : Send Release Announcements GMAIL no envelope
162+ if : false
163+ uses : dawidd6/action-send-mail@v6
164+ with :
165+ server_address : smtp.gmail.com
166+ server_port : 587
167+ secure : false
168+ username : asteriskteamsa@sangoma.com
169+ password : ${{secrets.ASTERISKTEAMSA_GMAIL_TOKEN}}
170+ subject : Test via GMAIL
53171 to : gjoseph@sangoma.com
54172 from : asteriskteamsa@sangoma.com
55173 body : " test email"
56174 reply_to : no-reply@sangoma.com
57175 ignore_cert : true
58176 convert_markdown : false
177+ nodemailerlog : true
178+ nodemailerdebug : true
59179
60- - name : Send Email
61- if : always()
62- uses : hilarion5/ send-mail@v1
180+ - name : Send Release Announcements GMAIL envelope_from
181+ if : false
182+ uses : dawidd6/action- send-mail@v6
63183 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-
184+ server_address : smtp.gmail.com
185+ server_port : 587
186+ secure : false
187+ username : asteriskteamsa@sangoma.com
188+ password : ${{secrets.ASTERISKTEAMSA_GMAIL_TOKEN}}
189+ subject : Test via GMAIL
190+ to : gjoseph@sangoma.com
191+ from : Asterisk Team
192+ envelope_from : asteriskteamsa@sangoma.com
193+ body : " test email"
194+ reply_to : no-reply@sangoma.com
195+ ignore_cert : true
196+ convert_markdown : false
197+ nodemailerlog : true
198+ nodemailerdebug : true
199+
200+ - name : Send Release Announcements GMAIL envelope_to
201+ if : false
202+ uses : dawidd6/action-send-mail@v6
203+ with :
204+ server_address : smtp.gmail.com
205+ server_port : 587
206+ secure : false
207+ username : asteriskteamsa@sangoma.com
208+ password : ${{secrets.ASTERISKTEAMSA_GMAIL_TOKEN}}
209+ subject : Test via GMAIL
210+ to : gjoseph@sangoma.com
211+ from : Asterisk Team <asteriskteamsa@sangoma.com>
212+ envelope_to : gjoseph@sangoma.com
213+ body : " test email"
214+ reply_to : no-reply@sangoma.com
215+ ignore_cert : true
216+ convert_markdown : false
217+ nodemailerlog : true
218+ nodemailerdebug : true
219+
220+ - name : Send Release Announcements GMAIL envelope_to/from
221+ if : false
222+ uses : dawidd6/action-send-mail@v6
223+ with :
224+ server_address : smtp.gmail.com
225+ server_port : 587
226+ secure : false
227+ username : asteriskteamsa@sangoma.com
228+ password : ${{secrets.ASTERISKTEAMSA_GMAIL_TOKEN}}
229+ subject : Test via GMAIL
230+ to : gjoseph@sangoma.com
231+ from : Asterisk Team <asteriskteamsa@sangoma.com>
232+ envelope_from : asteriskteamsa@sangoma.com
233+ envelope_to : gjoseph@sangoma.com
234+ body : " test email"
235+ reply_to : no-reply@sangoma.com
236+ ignore_cert : true
237+ convert_markdown : false
238+ nodemailerlog : true
239+ nodemailerdebug : true
240+
0 commit comments