From baaa81727acfe1333e17cf3eaebf2f114e6b103f Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Tue, 2 Sep 2014 20:34:55 +0200 Subject: [PATCH] fixed bug #42608 SMTP usage in opening comment swaps sender and receiver --- apps/smtp/smtp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/smtp/smtp.c b/apps/smtp/smtp.c index 0d6d483..511aada 100644 --- a/apps/smtp/smtp.c +++ b/apps/smtp/smtp.c @@ -14,8 +14,9 @@ * static void my_smtp_test(void) * { * smtp_set_server_addr("mymailserver.org"); + * -> set both username and password as NULL if no auth needed * smtp_set_auth("username", "password"); - * smtp_send_mail("recipient", "sender", "subject", "body", my_smtp_result_fn, + * smtp_send_mail("sender", "recipient", "subject", "body", my_smtp_result_fn, * some_argument); * } *