How to attach m4v video in email with MFMailcomposer in iphone
<p>I am using this code  but it is not sending mail with video
here is my code :</p>

<pre><code>MFMailComposeViewController* controller = [[MFMailComposeViewController alloc] init];  
        controller.mailComposeDelegate = self;  
        [controller setSubject:@"My Subject"];  
        [controller setMessageBody:@"" isHTML:NO]; if (controller) [self presentModalViewController:controller animated:YES];  
        [controller release];
        NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);  
        NSString *documentsDirectory = [paths objectAtIndex:0];
        NSString *dataPath = [documentsDirectory stringByAppendingPathComponent:titleString];

        NSLog(@"datapath=%@",dataPath);

        NSURL *url=[[NSURL alloc] initFileURLWithPath:dataPath];

        NSLog(@"url..%@",url);

        NSData *data=[[NSData alloc]initWithContentsOfURL:url ];

  [controller addAttachmentData:data mimeType:@"video/quicktime" fileName:titleString];
</code></pre>

<p>plzz help me</p>
