+1  A: 

I've seen the "could not open lock file" message before and it appears to be benign. I don't know about the "pipe to DADaemon" message, that might not be mail-related.

David Maymudes
its mail related all right - both go away if I remove the attachment.
Andiih
well its going out for user testing. I have to assume its benign. They'll soon tell me if its not!
Andiih
any user testing complaints?? Did anyone even notice anything? I have the error too, but can only tell through the console. I don't see any performance drop. Any Solutions?
Newbyman
A: 

I just started getting these same messages. Have been debugging on device iPhone OS 3.1.3 with no similar issues.

It is clear that each warning pops up as I'm typing in an email address for the sender; for both the TO: or CC: I have not attempted the BCC: field. I have never seen this debugger message before, I just added the Reachability Classes to app. Everything has been working fine for determining reachability, I did not change anything in the MFMailComposer section of the app, I plugged in the Reachability instance prior to lauching the MFMailComposer on previous viewcontroller.

I'm get the same DA|pipe DADaemon line for each letter of the email address that I'm trying to enter, It stops printing to the console as soon as I find the email that I was looking for and click to add it from the list. Either way, I don't like getting this warning, can't be a good thing. I turned off my Attachment, but it does not remove the warnings. I'm exporting as html text, not sure if that has something to do with it. I don't have anything extra in my didFinishWithResult MFMailComposer Delegate Method. I just have a message for each of the cases, that gets returned to the user via an alertView to inform what happened to their email.

Looking for Solutions!!!

Newbyman
so far Ive seen no issue. I too have reachability installed, so it might be related to that I guess.
Andiih
A: 

Try with this NSArray *paths = NSSearchPathForDirectoriesInDomains( NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsDirectory = [paths objectAtIndex:0]; NSString *path = [documentsDirectory stringByAppendingPathComponent:@"mytrack.kml"]; NSData *myData = [NSData dataWithContentsOfFile:path]; [picker addAttachmentData:myData mimeType:@"text/xml" fileName:@"mytrack.kml"];

zebra
Thanks. I'll take a look next time I have the drains up on that project.
Andiih