buglwIP - A Lightweight TCP/IP stack - Bugs: bug #42608, SMTP usage in opening comment...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #42608: SMTP usage in opening comment swaps sender and receiver

Submitter:  Sergio R. Caprile <scaprile>
Submitted:  Tue 24 Jun 2014 07:57:12 PM UTC
   
 
Category:  Contrib Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  git head

Tue 02 Sep 2014 06:35:30 PM UTC, comment #1: 

Fixed, thanks for reporting.

Simon Goldschmidt <goldsimon>
Group administrator
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);
  * }
  *
'''

Sergio R. Caprile <scaprile>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #31612:  smtp.patch added by scaprile (673B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by scaprile (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-09-02 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2014-06-24 scaprile Attached File- Added smtp.patch, #31612

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code