Commit graph

449 commits

Author SHA1 Message Date
3c642be4eb
Added WriteToSendmailWithCommand which is more generic and takes a command to sendmail
The code of WriteToSendmail has been refactored to return the new WriteToSendmailWithCommand using SendmailPath
2022-03-18 21:07:07 +01:00
00264b6f70
Merge remote-tracking branch 'origin/main' 2022-03-18 17:08:14 +01:00
709b4e6b91
Switched write functions to return the number of bytes. Due to failing tests in Msg.Write() 2022-03-18 17:08:05 +01:00
6fa4e8be25
Update codecov.yml 2022-03-18 15:15:16 +01:00
bf755cd944
Fix nil pointer deref in part_test.go 2022-03-18 15:09:34 +01:00
e909bd5499
More tests. 50% overall coverage now 2022-03-18 15:05:33 +01:00
c698312133
More tests for msg.go. 69% coverage - nice! 2022-03-18 14:36:44 +01:00
106e9c4f28
More tests for msg.go. Finally over 50% coverage there 2022-03-18 12:12:40 +01:00
f8a9512462
More tests for msg.go 2022-03-18 11:47:50 +01:00
3f101817ae
Tests for file.go added 2022-03-18 11:12:36 +01:00
b48b6e0b6a
More tests. encoding.go has now 100% coverage 2022-03-18 10:46:12 +01:00
bfcd52b9f0
Added String() methods for AddrHeader and Header (incl. tests) 2022-03-18 10:35:51 +01:00
b00116c892
More tests. 100% header.go coverage 2022-03-18 10:15:02 +01:00
8f2959b465
Merge remote-tracking branch 'origin/main' 2022-03-16 21:32:57 +01:00
fcd1bb8d12
Starting with client testing 2022-03-16 21:32:51 +01:00
dc37b3d285
Update codecov.yml 2022-03-16 21:08:34 +01:00
04343f4417
Verbose testing is needed 2022-03-16 21:06:12 +01:00
1c699da955
More tests. Also testing GH's behaviour on ENV variables for testing 2022-03-16 21:02:31 +01:00
ec162e7836
More tests for client.go 2022-03-16 14:09:50 +01:00
d72f709313
Merge remote-tracking branch 'origin/main' 2022-03-15 22:38:01 +01:00
a0ebc5bd78
More and better tests for client.go 2022-03-15 22:37:55 +01:00
57bb99b43d
Update codecov.yml
Set 1.18 as if criteria
2022-03-15 21:58:57 +01:00
ece721ffc1
Update codecov.yml
Typo in 1.18 change
2022-03-15 21:57:50 +01:00
236f981968
Update codecov.yml
Replaced go 1.14 with 1.18
2022-03-15 21:57:05 +01:00
ecfb966de6
Test fixed 2022-03-15 21:50:25 +01:00
50ea497569
Merge remote-tracking branch 'origin/main' 2022-03-15 21:48:43 +01:00
fe3925c1e6
More tests coverage for client.go 2022-03-15 21:48:36 +01:00
d17decfdc2
Added codecov badge 2022-03-15 21:48:08 +01:00
b092316e96
Update codecov.yml 2022-03-15 21:42:00 +01:00
46687c9d7e
Update codecov.yml 2022-03-15 21:41:24 +01:00
c2ea1989a8
Update codecov.yml 2022-03-15 21:40:04 +01:00
5443964d66
Update codecov.yml 2022-03-15 21:32:05 +01:00
f00913b0ac
Update codecov.yml 2022-03-15 21:30:51 +01:00
9d326de161
Add codecov.yml 2022-03-15 21:29:45 +01:00
099275021f
Update codecov.yml 2022-03-15 21:29:26 +01:00
b7d7c655b7
Create codecov.yml 2022-03-15 21:25:23 +01:00
2e1b27aec6
Adding more tests... coverage for client.go is now 30% 2022-03-15 21:10:29 +01:00
4585a53be8
Added error to Options so we can check inputs 2022-03-15 21:10:03 +01:00
eb6120f475
Let Cirrus CI test everything 2022-03-15 15:57:00 +01:00
e71e445294
Added tests for SMTP LOGIN AUTH code. 100% coverage 2022-03-15 15:54:36 +01:00
d0f04353a2
Removed unneeded default: case in SMTP LOGIN AUTH code 2022-03-15 15:54:16 +01:00
85be3f2d0b
Added gocov.io link to README.md 2022-03-15 14:54:11 +01:00
a87577d388
Attachment names should probably be encoded 2022-03-15 12:12:45 +01:00
ce1c37bd16
Check if Attachments/Embeds can be read. If an error occurs don't add them to the mail parts 2022-03-15 11:56:21 +01:00
f8ba9ac9c8
Added badges to README.md 2022-03-15 11:55:26 +01:00
557a161a12
Fix in address handling and more header related methods 2022-03-14 16:25:24 +01:00
066b421725
Create codeql-analysis.yml 2022-03-14 16:00:33 +01:00
fe02db163c
Create SECURITY.md 2022-03-14 16:00:04 +01:00
8d3cc5f561
Create FUNDING.yml 2022-03-14 15:56:39 +01:00
ebd8f94c1f
Make GoLinter happy 2022-03-14 15:30:41 +01:00