diff options
author | malcolmd <malcolmd@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-30 18:11:56 +0000 |
---|---|---|
committer | malcolmd <malcolmd@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-30 18:11:56 +0000 |
commit | e53e664ff48e93095311cb3a055cbb75fa5e9372 (patch) | |
tree | f84e313174fb4fdc24fe7d25e4dae27bf8a8bf40 /apps | |
parent | 2cf1b22da73b7f04c4855463adef9ebf02c7e7c8 (diff) |
"Unfix" Bug 1957...this isn't the solution
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3366 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_voicemail.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 2ea415ac3..48b8665fe 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); |