--- embedaddon/mini_sendmail/mini_sendmail.c 2012/02/21 16:52:55 1.1 +++ embedaddon/mini_sendmail/mini_sendmail.c 2013/07/22 00:39:41 1.1.1.1.2.1 @@ -542,7 +542,6 @@ add_recipient( char* recipient, int len ) } /* Strip off any angle brackets. */ -/* while ( len > 0 && *recipient == '<' ) { ++recipient; @@ -552,23 +551,6 @@ add_recipient( char* recipient, int len ) --len; (void) snprintf( buf, sizeof(buf), "RCPT TO:<%.*s>", len, recipient ); -*/ - if (len > 0 && recipient[len-1] == '>' ) - { - /* "" or: "Full Name " */ - while (len > 0 && *recipient != '<' ) - { - ++recipient; - --len; - } - (void) snprintf( buf, sizeof(buf), "RCPT TO:%.*s", len, recipient ); - } - else - { - /* name@domain */ - (void) snprintf( buf, sizeof(buf), "RCPT TO:<%.*s>", len, recipient ); - } - send_command( buf ); status = read_response(); if ( status != 250 && status != 251 )