I have added image in mail body. but when i send mail image is sent as an attachment but not shown in email body. I have to show it in body.
i have done it like this
NSString *path = [[NSBundle mainBundle] pathForResource:@"image" ofType:@"png"];
NSData *myData = [NSData dataWithContentsOfFile:path];
[picker addAttachmentData:myData mimeType:@"image/png" fileName:@"iamge"];
NSString *emailBody = @"Check out this cool game:url"; //add url here
[picker setMessageBody:emailBody isHTML:YES];//NO;
[self presentModalViewController:picker animated:YES];
what difference will it make if i set "isHTML:NO". can any one help.
one more doubt is can we configure email id on iphone simulator ?