summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/smtppass.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/smtppass.c b/common/smtppass.c
index 46c198d..7110152 100644
--- a/common/smtppass.c
+++ b/common/smtppass.c
@@ -1135,6 +1135,10 @@ static char* parse_address(char* line)
* We parse out emails in the form of <blah@blah.com>
* as well as accept other addresses.
*/
+
+ if(strncmp(line, "<>", 2) == 0)
+ return("<>");
+
if(line[0] == '<')
{
if((t = strchr(line, '>')) != NULL)