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

Submitted by:  Sergio R. Caprile <scaprile>
Submitted on:  Tue 24 Jun 2014 07:57:12 PM UTC  
 
Category: ContribSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: git head

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

Fixed, thanks for reporting.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
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>

 

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
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by scaprile (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 02 Sep 2014 06:35:30 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed
    Tue 24 Jun 2014 07:57:12 PM UTCscaprileAttached File-=>Added smtp.patch, #31612

    Back to the top


    Powered by Savane 3.1-cleanup1