Message Framework problems
Message Framework problems
- Subject: Message Framework problems
- From: Stéphane Sudre <email@hidden>
- Date: Thu, 23 Aug 2001 13:02:25 +0200
Could it be possible to get some info on the Message Framework following
problems ?
- When you send a message under an user account using:
[NSMailDelivery deliverMessage:@"It's really a test" subject:@"test"
to:@"email@hidden"];
and retrieve the message in Mail.app, the mail has no Sender name even
though the fields are correctly filled in the Internet System
Preferences panel.
Is is not a bug ?
- Is it possible to use the Message Framework in a background
application ?
In this case, the running user would be root and has no information
filled in the Internet Config panel. So using [NSMailDelivery
deliverMessage:@"It's really a test" subject:@"test"
to:@"email@hidden"]; is not working.
To sum up, the Message Framework lacks this kind of method:
+ (BOOL)deliverMessage: (NSAttributedString *)messageBody from:
(NSString *) sender withHeaders: (NSDictionary *)messageHeaders format:
(NSString *)messageFormat protocol: (NSString *)deliveryProtocol server:
(NSString *) mailServer;
Is there other Framework alternative somewhere ?