Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Problem with fetching audio attachments #6

Open
rehabaam opened this Issue · 0 comments

1 participant

@rehabaam

I tried to fetch an audio file with extension "amr" using attachments method in CTCoreMessage but in vein. When I debug the code, I see it's reading "Content-Type: audio/amr" from the mail but when it reaches this block:
if (singlePart.attached) {
CTBareAttachment *attach = [[CTBareAttachment alloc]
initWithMIMESinglePart:singlePart];
[attachments addObject:attach];
[attach release];
}

It evaluates "singlePart.attached" as false, then returns 0 objects for attachments. Do you think it's related to audio encoding? what is the proper case to handle audio extensions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.