You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker 7ee447c011
v811_spc009_project
4 months ago
..
CMakeLists.txt v811_spc009_project 4 months ago
README.md v811_spc009_project 4 months ago
main.c v811_spc009_project 4 months ago

README.md

lws api test smtp client

Demonstrates how to send email through your local MTA

build

Requires lws was built with -DLWS_WITH_SMTP=1 at cmake.

 $ cmake . && make

usage

Commandline option Meaning
-d Debug verbosity in decimal, eg, -d15
-r recipient@whatever.com Send the test email to this email address
 $ ./lws-api-test-smtp_client -r andy@warmcat.com
[2019/04/17 05:12:06:5293] USER: LWS API selftest: SMTP client
[2019/04/17 05:12:06:5635] NOTICE: LGSSMTP_IDLE: connecting to 127.0.0.1:25
[2019/04/17 05:12:06:6238] NOTICE: email_sent_or_failed: sent OK
[2019/04/17 05:12:06:6394] USER: Completed: PASS