aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorcitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-02-25 21:43:32 +0000
committercitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-02-25 21:43:32 +0000
commitf9d08103cac28c6411974f5553cf163faf7ff14e (patch)
tree8fc0ce7d4ac03791854215bf0fccef7363694392 /apps/app_voicemail.c
parenta75383add1740450ddcb402bd92c98ad4f2efb08 (diff)
Add extra \n so email sent by voicemail has the right header delimiter
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2245 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_voicemail.c')
-rwxr-xr-xapps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index f42df964a..b83a20956 100755
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -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, "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);