|
1b1adc1c
|
2025-03-16T18:22:13
|
|
ignore temporary config files
|
|
abeb2f4b
|
2025-03-02T16:13:22
|
|
Change copyright wording and extend to 2025
|
|
baed14a1
|
2025-02-19T00:12:42
|
|
gitignore
|
|
0fd3aa93
|
2025-02-14T22:36:25
|
|
wip clang64 msys2
|
|
92881231
|
2025-01-10T01:39:02
|
|
configure openssl
|
|
1caff75f
|
2025-01-07T14:19:15
|
|
smtp: sendmail
|
|
e913e2f0
|
2025-01-06T16:53:32
|
|
kc3_smtp
|
|
9d8af19a
|
2025-01-06T10:04:15
|
|
fix compilation on OpenBSD
|
|
b3fc2d8f
|
2025-01-06T09:22:58
|
|
update sources
|
|
1ac2a251
|
2025-01-05T07:39:04
|
|
first draft for kc3_smtp.c
|
|
293a1d43
|
2025-01-04T19:33:05
|
|
fix compilation on Ubuntu
|
|
e0936825
|
2025-01-03T01:13:34
|
|
remove SMTP_LINKAGE
|
|
aef6e72d
|
2025-01-02T17:49:51
|
|
ignore build_* files
|
|
fbe3b5d5
|
2024-11-30T01:09:33
|
|
headers for smtp
|
|
13621065
|
2024-11-30T01:09:19
|
|
ws
|
|
52bf8185
|
2024-11-30T01:00:53
|
|
ssl
|
|
46e24e5b
|
2024-11-30T01:00:39
|
|
force checking of SSL certificate
|
|
9279f9e2
|
2024-11-30T00:17:24
|
|
build system
|
|
56d81668
|
2024-11-30T00:08:21
|
|
clean more
|
|
73ddfcf8
|
2024-11-30T00:06:21
|
|
clean
|
|
d874c92f
|
2020-04-28T13:22:13
|
|
Do not include gcc warnings in older versions
See #7
|
|
fa517ca6
|
2020-01-08T08:09:09
|
|
Add test case sending multiple PDF attachments
|
|
df212185
|
2020-01-08T07:19:50
|
|
Move SIZE_MAX definition to header file
|
|
77494713
|
2020-01-08T07:12:47
|
|
Change fopen from "r" to "rb"
Windows corrupts PDF files when not opening in binary mode (#5).
|
|
41a31d7a
|
2019-04-27T18:05:52
|
|
Change default port in examples from 25 to 587
|
|
b25959b4
|
2019-04-27T13:42:03
|
|
Add connection test for smtpout.secureserver.net
|
|
83738e82
|
2019-04-26T09:30:32
|
|
Remove note on SMTP_SECURITY_TLS deprecation
See also: #4
|
|
0e9896d6
|
2019-04-26T09:23:09
|
|
Reformat and split long lines in README
|
|
3f3fd13a
|
2019-04-20T23:44:33
|
|
Handle test case asserts in check functions
- smtp_auth -> smtp_auth_check
- smtp_address_add -> smtp_address_add_check
- smtp_header_add -> smtp_header_add_check
- smtp_mail -> smtp_mail_check
- smtp_close -> smtp_close_check
|
|
2f4a7322
|
2019-04-20T23:40:27
|
|
Explicitly set enum values
|
|
21e7d95c
|
2019-04-20T13:11:26
|
|
Use global to store server configuration settings
|
|
7f1028a7
|
2019-04-20T12:14:10
|
|
Use global to check status code responses in tests
|
|
a60e60b0
|
2019-04-20T11:03:09
|
|
Replace ternary operators with branch conditions
|
|
63f4aa1a
|
2019-04-20T10:58:28
|
|
Add gcov target to Makefile
|
|
f388b080
|
2019-04-20T10:01:01
|
|
Allow applications to override Content-Type header
Applications must generate the appropriate MIME sections (if needed)
when overriding the Content-Type header, and attachments added to
the SMTP context will get ignored.
- Applications can now set the Content-Type header
- Add an HTML example program to the README
- Extracted both example programs from the README and add to the
build system
- Corrected the size of the header list in smtp_header_exists function
Fixes #3
|
|
bd56729e
|
2019-03-24T19:31:02
|
|
Fix test failures introduced in previous commit
Referencing commit 94a86acba90e24d01cd71b1bf868a4fae39ea134
|
|
94a86acb
|
2019-03-24T17:49:55
|
|
Add smtp_status_code_clear function
Deprecated the smtp_status_code_set function.
|
|
42d618ca
|
2019-03-24T17:41:57
|
|
Remove logo build rules from Makefile
|
|
c5504d4b
|
2019-03-24T17:32:44
|
|
Move comments to header for all exported functions
|
|
4f43947a
|
2019-03-24T16:58:19
|
|
Removed old logo image
|
|
5e750f29
|
2019-03-24T16:47:46
|
|
Enable -Weverything and eliminate warnings
Only a few warnings have been disabled in the Makefile.
Also changed the smtp_attachment_add_mem interface to use
a size_t for the datasz parameter.
|
|
1f7fea60
|
2019-03-24T15:17:26
|
|
Added .gitignore and removed wiki documentation
The wiki file was a duplicate of the README file in HTML format.
|
|
6e2d81f5
|
2019-03-01T06:45:46
|
|
Add more bytes to SMTP_DATE_MAX_SZ define to silence recent compiler warnings.
The previous size was enough to contain the maximum possible size. Remove the
redefinition of that size in the test header.
|
|
caeec816
|
2018-11-14T15:41:11
|
|
Clean up getdelimfd error handling.
|
|
d28a363e
|
2018-11-14T07:51:36
|
|
Handle the scenario of sending fewer bytes at a time,
and add test case that sends one byte at a time
after creating the connection.
|
|
b6744cd1
|
2018-11-13T07:43:50
|
|
Add test seam for strlen() function.
Add separate functions that add additional checks for unsigned wrapping.
Initialize socket value to -1.
|
|
cb346c71
|
2018-11-03T06:29:54
|
|
Update example to include separate email parameters. Split header folding
out into separate function, and added corresponding test cases. Applied
the chunk function to base64 attachments. Remove undefined behavior
resulting from negative shift.
|
|
f9d2dfe6
|
2018-10-31T15:16:09
|
|
Assign name to email address in header. Increase default header length.
|
|
4f83bb8a
|
2018-10-27T04:14:29
|
|
Increase maximum date buffer size to silence GCC format overflow warning.
GCC generates a false-positive in this instance, referencing the UTC offset
as the possible culprit. The UTC offset is restricted to a maximum of 4 digits
from the conversion after calling difftime() on local and UTC time.
|
|
5c44cf4b
|
2018-10-07T11:47:29
|
|
Replace all instances of ssize_t with long and rearranged unistd include,
fixing compile errors on Windows VS.
|
|
48122720
|
2018-10-07T10:01:53
|
|
Remove unread concat assignments.
|
|
efb05d4c
|
2018-10-07T09:26:43
|
|
Add clang static analyzer to test suite.
|
|
9dbdc919
|
2018-10-07T09:19:48
|
|
Replace a few sprintf calls with smtp_stpcpy, a portable version of stpcpy.
Some sprintf implementations might fail from OOM condition.
|
|
4993684b
|
2018-10-07T09:12:54
|
|
Move UBSan to clang compile target and run that as a separate test.
|
|
2096f83f
|
2018-10-06T20:02:58
|
|
Add clang build to Makefile and fix clang compiler warnings.
|
|
c024ced5
|
2018-10-06T17:38:52
|
|
Add UndefinedBehaviorSanitizer (UBSan) to the Makefile.
|
|
dc4a3e36
|
2018-09-07T01:59:08
|
|
Add missing attachment argument (-a) to mailx example program. Add a check
to prevent caller from using a NULL file path or file name when sending an
attachment.
|
|
b1f1137d
|
2018-09-07T01:38:47
|
|
Add missing parameter documentation for smtp-from command in the mailx example
program.
|
|
ee6d4b2c
|
2018-08-21T04:29:41
|
|
Set all source files to version 1.00.
|
|
ddae3319
|
2018-08-21T04:25:58
|
|
Add cafile parameter to SMTPMail class.
|
|
3caa6864
|
2018-08-21T04:18:59
|
|
Add OpenSSL CRYPTO_zalloc function to valgrind suppression list.
|
|
71a88fcb
|
2018-08-21T04:18:31
|
|
Run test_cpp_wrapper program during make test.
|
|
cb9111dd
|
2018-08-21T03:24:53
|
|
Fixed example program for SMTPMail class.
|
|
cf1dd167
|
2018-08-21T03:08:52
|
|
Add missing header comment for CPP test file.
|
|
35c9b8e8
|
2018-08-21T03:05:38
|
|
Allow mailx utility to optionally compile without OpenSSL support.
|
|
88b4f8f1
|
2018-08-19T06:58:46
|
|
Move the SIGPIPE ignore call and add documentation about ignoring that signal.
|
|
64228c41
|
2018-08-19T06:14:10
|
|
Make it obvious to the user that the email body will get read from stdin.
|
|
921114bd
|
2018-08-19T06:13:06
|
|
Ignore SIGPIPE signal.
|
|
1d3a8bc0
|
2018-08-12T07:53:32
|
|
Minor reformatting and documentation updates.
|
|
27c8a717
|
2018-08-12T07:51:54
|
|
Add Valgrind suppression file to block warnings coming from the allocation routines in OpenSSL. Fix issue reported by Valgrind where empty responses from the server were getting written to before writing to stderr.
|
|
74e0ffef
|
2018-08-12T00:17:48
|
|
Finish adding test cases for x509 which brings us to 100% branch/code coverage.
|
|
530cf11f
|
2018-08-11T22:29:33
|
|
Add new cafile parameter to smtp_open function which allows the caller to
explicitly provide a certificate to use instead of adding the certificate to
the default certificate path.
|
|
cc095863
|
2018-08-11T07:07:13
|
|
Add doc build directory to Makefile.
|
|
f6d4b5e0
|
2018-08-11T07:06:01
|
|
Fix buffer length issue when copying line buffer. Remove carriage-return
character when printing debug text. Do not print headers with NULL values.
Fix unsigned character comparison when validating header keys. Ensure caller
provides a required FROM address. Fix other miscellaneous issues while
updating test cases. Fixed a number of problems where test cases did not work
as described.
|
|
3d83e529
|
2018-06-23T23:05:36
|
|
Add README.md file which contains similar content from the www/index.wiki page.
Also fixed some grammar errors in the existing HTML documentation.
|
|
f0a769ef
|
2018-06-23T21:02:33
|
|
Allow sending UTF-8 email headers. Also add support for UTF-8
email addresses in the MAIL and RCPT commands which requires that the email
server supports the SMTPUTF8 extension.
|
|
3de6b0bc
|
2018-06-17T03:39:30
|
|
Add missing includes that generated warnings on some systems.
|
|
6f4550f4
|
2018-06-16T21:12:33
|
|
Complete unit tests for the smtp_str_getdelimfd interface.
|
|
c746e8f2
|
2018-06-16T18:40:21
|
|
Undefine all functions that get redefined in the test seams file.
|
|
51b3e569
|
2018-06-16T17:56:41
|
|
Fixed unsigned warnings generated by clang.
|
|
347426b4
|
2018-06-16T17:04:43
|
|
Add missing netinet/in.h header which generated error for missing IPPROTO_TCP
define on FreeBSD.
|
|
bb786d59
|
2018-06-15T05:55:03
|
|
Place the https protocol in the documentation link.
|
|
45a96513
|
2018-06-15T05:53:54
|
|
Remove documentation link in header.
|
|
bad93998
|
2018-06-15T05:52:20
|
|
Add link to Doxygen documentation.
|
|
cc7d5e79
|
2018-06-14T14:48:16
|
|
Update main page documentation: remove POSIX mailx in feature list since its
not relevant to the library, add the SMTP_NO_CERT_VERIFY flag to the example
program, and add newline to error handling in the example program.
|
|
3224cc8c
|
2018-06-13T23:01:50
|
|
Add a Makefile used for development and testing.
|
|
414d00cd
|
2018-06-13T22:41:02
|
|
Add Doxygen configuration file.
|
|
cde618d4
|
2018-06-13T22:39:44
|
|
Add test program for SMTPMail class.
|
|
dffc1f6d
|
2018-06-13T22:38:05
|
|
Add CPP class wrapper for the SMTP C library.
|
|
87280a68
|
2018-06-13T22:29:27
|
|
Add ignore-glob file which ignores configuration and build files.
|
|
798b1c33
|
2018-06-13T16:17:02
|
|
Remove RFC references from a previous Documentation section.
|
|
2bad60c2
|
2018-06-13T16:04:42
|
|
Remove the technical documentation link since Doxygen is not generating that
page yet.
|
|
7477483c
|
2018-06-13T16:01:52
|
|
Add main testing framework for the SMTP library. This is not quite 100%
branch coverage yet.
|
|
dc2d2141
|
2018-06-13T15:57:00
|
|
Add main page summarizing library features.
|
|
1490e2d2
|
2018-06-05T14:55:19
|
|
Add test seams on some of the functions used by the SMTP library. This will
allow the main testing framework to inject return values at certain points
in order to test different error conditions.
|
|
65bec04b
|
2018-06-05T14:37:13
|
|
Read the email body from stdin.
|
|
6e06fc8f
|
2018-06-04T03:01:50
|
|
Add test program to check the build without OpenSSL.
|
|
703da1e4
|
2018-06-04T02:32:37
|
|
Add PDF file used to test sending SMTP binary attachments.
|
|
f7e0f0ae
|
2018-06-04T02:27:18
|
|
Add project logo.
|
|
5963fb1f
|
2018-06-03T17:47:15
|
|
Fixed a number of problems with the mailx example program that caused it to
fail sending emails. Added the address type to the address structure. Added
a required FROM address parameter. Fixed two instances of misuse of the strtok
function which prevented correct string parsing. Convert the server, port, user
pass, and from parameters to dynamically allocated strings. Remove default
server settings and make server a required field.
|