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

Improve SMTP service plugin #574

Merged
merged 3 commits into from
Aug 20, 2022
Merged

Improve SMTP service plugin #574

merged 3 commits into from
Aug 20, 2022

Conversation

amotl
Copy link
Member

@amotl amotl commented Aug 20, 2022

Hi there,

while adding software tests to the SMTP service plugin with a5b73bf, I discovered a bug where the htmlmsg=False parameter was misinterpreted and not honored, now fixed with f9ce799.

Along the lines, I implemented the suggestion from #573 (comment) with 134399c, in order to support a minimal configuration w/o TLS and AUTH, suitable for testing purposes.

With kind regards,
Andreas.

@codecov-commenter
Copy link

codecov-commenter commented Aug 20, 2022

Codecov Report

Merging #574 (1f147a3) into main (871a381) will increase coverage by 1.21%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #574      +/-   ##
==========================================
+ Coverage   28.80%   30.02%   +1.21%     
==========================================
  Files          83       83              
  Lines        3714     3717       +3     
==========================================
+ Hits         1070     1116      +46     
+ Misses       2644     2601      -43     
Flag Coverage Δ
unittests 30.02% <100.00%> (+1.21%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
mqttwarn/model.py 100.00% <100.00%> (ø)
mqttwarn/services/smtp.py 100.00% <100.00%> (+100.00%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Beforehand, configuring `htmlmsg = False`, as advertised in the
documentation, would not work.
@amotl amotl marked this pull request as ready for review August 20, 2022 22:13
@amotl amotl merged commit c3eb0fc into main Aug 20, 2022
@amotl amotl deleted the amo/improve-smtp-service branch August 20, 2022 23:21
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

Successfully merging this pull request may close these issues.

2 participants