wneessen / go-mail

📧 Easy to use, yet comprehensive library for sending mails with Go
https://go-mail.dev
MIT License
571 stars 44 forks source link

Add SetHeaderPreformatted() method #77

Closed wneessen closed 1 year ago

wneessen commented 1 year ago

With the SetHeaderPreformatted() method we have the ability to set headers that are already preformatted by the user and will not be altered in the mail message output

This PR resolves #76

codecov-commenter commented 1 year ago

Codecov Report

Merging #77 (2e60d07) into main (4250eaf) will increase coverage by 0.12%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #77      +/-   ##
==========================================
+ Coverage   83.72%   83.85%   +0.12%     
==========================================
  Files          13       13              
  Lines        1370     1381      +11     
==========================================
+ Hits         1147     1158      +11     
  Misses        153      153              
  Partials       70       70              
Impacted Files Coverage Δ
msg.go 86.52% <100.00%> (+0.14%) :arrow_up:
msgwriter.go 90.65% <100.00%> (+0.22%) :arrow_up:

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