To add attachments in MailCore add this ONLY after setBody/setHTMLBody:
<br />
// Set Attachments<br />
NSString *filePrefix = [[NSBundle mainBundle] bundlePath];<br />
NSString *path = [NSString stringWithFormat:@”%@/%@”,filePrefix,@”TestData/DSC_6201.jpg”];<br />
NSLog(@”path:%@”, path);</p>
<p>CTCoreAttachment *attach = [[CTCoreAttachment alloc] initWithContentsOfFile:path];<br />
if ([attach data]==nil) {<br />
NSLog(@”Error: attachment data is nil”);<br />
}<br />
[myMessage addAttachment:attach];<br />
Here, you should add TestData folder with image to your project as a folder reference.