Re: Attach a file to a mail
Re: Attach a file to a mail
- Subject: Re: Attach a file to a mail
- From: Chris Espinosa <email@hidden>
- Date: Sun, 10 Jul 2005 20:21:45 -0700
On Jul 10, 2005, at 6:04 PM, Norio Ota wrote:
My CFM-app made by CW8 sends an AppleEvent to Mail.app and makes it
send a mail with attaching a file.
The app has been working with no complain so far. However when I
ported it to Xcode, only the feature of attaching a file doesn't work.
The dictionary of Mail.app says an attachment should be specified its
path by string, but if the path included Japanese character it didn't
work before. So I've been passing the alias handle instead of path
string after that, and it's been working well as I mentioned above.
Is there any differences related with attaching files between
CW8-build and Xcode-build ?
What do you think I should consider about?
Do you think it's OK to post this to Carbon list, too?
It's possible that there's a latent bug in your code that Xcode's gee
compiler has exposed, or possibly gcc is generating wrong code, but
it's more likely that some other variable (e.g. the headers changed,
linking is not set up right, etc.) is making the difference here.
The best thing to do is to capture (using the AEDebug mechanism) the
events that both your CFM and Mach-O apps are sending to create and
attach
a message to Mail, and if they're different, post the results -- with a
snippet of code that generates the Apple event -- to both the Carbon
list and this one.
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden