Add extra \n so email sent by voicemail has the right header delimiter
authorJames Golovich <james@gnuinter.net>
Wed, 25 Feb 2004 21:43:32 +0000 (21:43 +0000)
committerJames Golovich <james@gnuinter.net>
Wed, 25 Feb 2004 21:43:32 +0000 (21:43 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2245 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index f42df96..b83a209 100755 (executable)
@@ -761,7 +761,7 @@ static int sendmail(char *srcemail, struct ast_vm_user *vmu, int msgnum, char *m
 
                        fprintf(p, "--%s\n", bound);
                }
 
                        fprintf(p, "--%s\n", bound);
                }
-               fprintf(p, "Content-Type: text/plain; charset=ISO-8859-1\nContent-Transfer-Encoding: 8bit\n");
+               fprintf(p, "Content-Type: text/plain; charset=ISO-8859-1\nContent-Transfer-Encoding: 8bit\n\n");
                strftime(date, sizeof(date), "%A, %B %d, %Y at %r", &tm);
                if (emailbody) {
                        struct ast_channel *ast = ast_channel_alloc(0);
                strftime(date, sizeof(date), "%A, %B %d, %Y at %r", &tm);
                if (emailbody) {
                        struct ast_channel *ast = ast_channel_alloc(0);