as already mentioned in #3295870 trying to send a test message fails with no concrete reason given.
The error shows up in "[EmailSender sendPhotoEmail]", line 251, when it's been tried to write message contents to a temporary file using "[NSString writeToFile]". Pointer to "NSError" does not contain any "userInfo", only an error domain of "NSCocoaErrorDomain".
Assuming it might be due to some suspicious characters in destination file path and name myself I've checked the file path does not contain spaces or anything else that's obviously problem causing.
The value of "msgFilePath" revealed using gdb is:
(gdb) p (char*)[msgFilePath cStringUsingEncoding:5]
$1 = 0x3751c0 "/Users/pit/Pictures/iAlertU/mailBody_2011-05-05 08:05:33 +0200.html"
And in a terminal I tried
ls -ld "`dirname '/Users/pit/Pictures/iAlertU/mailBody_2011-05-05 08:05:33 +0200.html'`"
drwxr-xr-x 4 pit staff 136 3 Mai 08:22 /Users/pit/Pictures/iAlertU
ls -lA "`dirname '/Users/pit/Pictures/iAlertU/mailBody_2011-05-05 08:05:33 +0200.html'`"
shows the contents
-rw-r--r-- 1 pit staff 323556 1 Mai 19:05 iAlertUScreenSnap_2011-05-01 19:05:43 +0200_XXNXX_XX__XXXEXX_XX.jpg
-rw-r--r-- 1 pit staff 152740 1 Mai 19:05 iAlertUSnap_2011-05-01 19:05:43 +0200_XXNXX_XX__XXXEXX_XX.jpg
so the directory can be accessed and already contains files created by iAlertU.
For whatever reasons I don't even see any system call for a write attempt to "msgFilePath".
I'll do more investigations and report the results in here.