src/mailx.c


Log

Author Commit Date CI Message
humphreyj 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.
humphreyj b1f1137d 2018-09-07T01:38:47 Add missing parameter documentation for smtp-from command in the mailx example program.
humphreyj ee6d4b2c 2018-08-21T04:29:41 Set all source files to version 1.00.
humphreyj 35c9b8e8 2018-08-21T03:05:38 Allow mailx utility to optionally compile without OpenSSL support.
humphreyj 64228c41 2018-08-19T06:14:10 Make it obvious to the user that the email body will get read from stdin.
humphreyj 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.
humphreyj 65bec04b 2018-06-05T14:37:13 Read the email body from stdin.
humphreyj 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.
humphreyj 4f0c3c72 2018-06-01T16:09:37 Add an implementation of the POSIX mailx utility as an example of using the library. It only implements the mailx utility in send mode. It also has additional option arguments which allows the caller to specify the connection security, authentication mechanism, server parameters, and optional flags corresponding to the SMTP library parameters.