Tue 24 Jun 2014 07:57:12 PM UTC, original submission:
The fix (also attached as a patch file):
'''
--- a/apps/smtp/smtp.c
+++ b/apps/smtp/smtp.c
@@ -11,11 +11,12 @@
* printf("mail (%p) sent with results: 0x%02x, 0x%04x, 0x%08x\n", arg,
* smtp_result, srv_err, err);
* }
+ * set both username and password as NULL if no auth needed
* static void my_smtp_test(void)
* {
* smtp_set_server_addr("mymailserver.org");
* 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);
* }
*
'''
|