"Unfix" Bug 1957...this isn't the solution
[asterisk/asterisk.git] / apps / app_voicemail.c
index 2ea415a..48b8665 100755 (executable)
@@ -833,12 +833,7 @@ static int sendmail(char *srcemail, struct ast_vm_user *vmu, int msgnum, char *m
        time_t t;
        struct tm tm;
        struct vm_zone *the_zone = NULL;
-
-       if (vmu && (strchr(vmu->email, '@') == NULL)) {
-               ast_log(LOG_WARNING, "Invalid e-mail address %s.  E-mail will not be sent.\n", vmu->email);
-               return(0);
-       }
-
+       
        if (!strcmp(format, "wav49"))
                format = "WAV";
        ast_log(LOG_DEBUG, "Attaching file '%s', format '%s', uservm is '%d', global is %d\n", attach, format, attach_user_voicemail, attach_voicemail);