Same code, tool and app behave differently.
Same code, tool and app behave differently.
- Subject: Same code, tool and app behave differently.
- From: Alberto Ricci <email@hidden>
- Date: Thu, 25 Sep 2003 16:55:00 +0200
Hello,
I am using NSMailDelivery in a foundation tool, and everything works fine.
However, I now tried using the same exact piece of code packaged as
an application, and it doesn't work!
[NSMailDelivery deliverMessage:subject:to:] returns false, indicating
that it couldn't send the message.
Again, the entire code, when used in a project targeting a foundation
tool rather than an application, works perfectly.
I have put the two projects here (the archive is just 12KB):
ftp://ftp.albertoricci.com/temp/why.sit
One project targets a foundation tool, the other an application. But
they both use the same main.m file.
The tool works, the application doesn't.
Does anybody have any idea why this could be happening? I can't find
any clues...
Thank you very much!
Alberto.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.