Voicemail + smtp

I can not make the asterisk send audio messages with or without audio to the email listed in the parameters of voicemail. Alquem does idea of how to fix this?

Nov 19 05:52:29 NOTICE[2332]: app_voicemail.c:2315 copy_message: Copying message from 1223@default to 1224@default

voicemail.conf

[general]
format=wav49|gsm|wav
serveremail=faeg@faeg.com.br
attach=yes
skipms=3000
maxsilence=10
silencethreshold=128
maxlogins=3
delete => yes
sendvoicemail => yes
fromstring => Serviço Voip
emailsubject => O Numero ${VM_CALLERID} ligou e deixou um recado.
emailbody => ${VM_NAME}: \n\n\t Existe uma mensagen de voz para você do número (${VM_CALLERID}) com duração de ${VM_DUR} segundos, enviado em ${VM_DATE}.
emaildateformat => %A, %B %d, %Y at %r

[default]
1223 => 4040,Alba,sinair@faeg.com.br
1224 => 4040,Karen,sinair@faeg.com.br

thank you!

This is my voicemail.conf :smile: Hope this helps, it’s working fine on our system.

; Voicemail Configuration
;
[general]
format=wav49|gsm|wav
serveremail=pbxgos (name of the hostname of the linux server)
attach=yes
skipms=3000
maxsilence=10
silencethreshold=128
maxlogins=3

emailbody=Dear ${VM_NAME}:\n\n\tjust wanted to let you know you were just left a ${VM_DUR} long message (number ${VM_MSGNUM})\nin mailbox ${VM_MAILBOX} from ${VM_CALLERID}, on ${VM_DATE}, so you might\nwant to check it when you get a chance.\n\n\tPlease press the “messages” button or dial +327xxxxxx to retrieve this message. Thanks!\n\n\t\t\t\t

;exemple
2000 => 2000,John Doe,john.doe@disappeard.com

Hi
add this

mailcmd=/usr/sbin/sendmail -v -t -f asterisk@ur domai.com
may help you

Regards
Amit