[Home]

Summary:ASTERISK-01578: mime header tips for Linuz Zaurus Mailer (SL-A,SL-B,SL-C)
Reporter:mack_jpn (mack_jpn)Labels:
Date Opened:2004-05-10 03:52:23Date Closed:2008-01-15 14:54:24.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:this mailer isn't accept capital strings in mime header.

change

fprintf(p, "Content-Type: MULTIPART/MIXED; BOUNDARY=\"%s\"\n\n\n", bound);

to

fprintf(p, "Content-Type: multipart/mixed; boundary=\"%s\"\n\n\n", bound);

it works well. enjoy!
Comments:By: zoa (zoa) 2004-05-10 04:37:26

the example in the rfc http://www.ietf.org/rfc/rfc2047.txt is using the lower case version.

By: Mark Spencer (markster) 2004-05-10 09:08:40

Obviously this is a zaurus bug, but I'll make the change anyway since it is more common to have them lower case than upper case.  I'm trusting this won't break anybody else out there.

By: Digium Subversion (svnbot) 2008-01-15 14:54:24.000-0600

Repository: asterisk
Revision: 2942

U   trunk/apps/app_voicemail.c

------------------------------------------------------------------------
r2942 | markster | 2008-01-15 14:54:23 -0600 (Tue, 15 Jan 2008) | 2 lines

Set mimetype to lower case (bug ASTERISK-1578)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=2942