From: Malcolm Davenport Date: Wed, 30 Jun 2004 18:11:56 +0000 (+0000) Subject: "Unfix" Bug 1957...this isn't the solution X-Git-Tag: 1.0.0-rc1~93 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cf3edb14fa3fc24806b146a804eb90204c08f1a;p=thirdparty%2Fasterisk.git "Unfix" Bug 1957...this isn't the solution git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3366 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 2ea415ac34..48b8665fea 100755 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -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);