2012-09-12 25 views
1

我如何在我的項目中起訴EDMessage框架?你能提供一些步驟嗎?EDMessage進口框架

我想給使用郵件

NSString *text; // assume this exists this 

headerFields = [NSMutableDictionary dictionary]; 
[headerFields setObject:@"Joe User <[email protected]>" forKey:@"To"]; 
[headerFields setObject:@"Hi there" forKey:@"Subject"]; 

text = [text stringWithCanonicalLinebreaks]; 

mailAgent = [EDMailAgent mailAgentForRelayHostWithName:@"mail.example.com"]; 
[mailAgent sendMailWithHeaders:headerFields andBody:text]; 

回答

0

我是誰幾年前拉EDMessage了trashbin的人,根據我的經驗,我會真正感到驚訝,如果你能得到它的工作在iOS上 - 加上它真的很大。我知道很多人使用iOS上的'MailCore'在Apple框架外發送郵件 - 你看過嗎?