Attaching sqlite to xcode mail
===

I am going crazy with this code, It should be working but when I receive the mail there is no file attached, here is my code:

    -(IBAction)mandar:(id)sender
    {   
        MFMailComposeViewController *composer=[[MFMailComposeViewController alloc]init];
        [composer setMailComposeDelegate:self];
        if ([MFMailComposeViewController canSendMail]) 
        {
            [composer setToRecipients:[NSArray arrayWithObjects:@"tuperroensalsa@hotmail.com",nil]];
            [composer setSubject:@"Base de datos"];
            [composer setMessageBody:@"Mensage" isHTML:NO];
            [composer setModalTransitionStyle:UIModalTransitionStyleCrossDissolve];
                NSArray *searchPaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
            NSString *documentPath = [searchPaths objectAtIndex:0];
            NSString *path = [[NSString alloc] initWithFormat:@"%@/capturas.sqlite",documentPath];
    
            NSString *Newpath = [[NSString alloc] initWithFormat:@"%@/newData.sqlite",documentPath];
            [[NSFileManager defaultManager] copyItemAtPath:path toPath:Newpath error:nil];
            NSData *data = [NSData dataWithContentsOfFile:Newpath];
            [composer addAttachmentData:data mimeType:@"application/x-sqlite3" fileName:@"capturas.sqlite"];
    
            [self presentModalViewController:composer animated:YES];
        }
        else {
            UIAlertView *alert=[[UIAlertView alloc] initWithTitle:@"Error" message:@"No se a podido mandar el mensage" delegate:self cancelButtonTitle:@"dismis" otherButtonTitles:nil, nil];
            [alert show];
        }
    }

The path is ok and the database has data in it, I also see the file when I am composing the mail but nothing arrives to my mail. I guess the problem is here

    [composer addAttachmentData:data mimeType:@"application/x-sqlite3" fileName:@"capturas.sqlite"];

but dont know why it doesnt works, thx for the help =)