我怎么能用作曲家启动画面发送邮件

时间:2022-06-04 06:38:33

i need to send mail in my application.

我需要在我的申请中发送邮件。

for that my code is,

因为我的代码是,

MFMailComposeViewController * mailView = [[MFMailComposeViewController alloc] init];
 [mailView setMailComposeDelegate:self];  
 [mailView setSubject:@"Some Subject"];
 [mailView setToRecipients:self.selectedArray];
 [self presentModalViewController:mailView animated:YES];
 [mailView release];  

- (void)mailComposeController:(MFMailComposeViewController*)controller didFinishWithResult:(MFMailComposeResult)result error:(NSError*)error {

 [controller dismissModalViewControllerAnimated:YES];
}

for that i am getting the splash screen like this.

为此我得到这样的启动画面。

is it possible to send mail without this splash screen.

是否可以在没有此启动画面的情况下发送邮件。

i need to send mail in background.

我需要在后台发送邮件。

can any one please suggest me.

任何人都可以建议我。

Thank u in advance.

提前谢谢你。

1 个解决方案

#1


0  

if you don't want to use the composer you have to write your own smtp client. I've never tried it but from what I've heard skpsmtpmessage should do the trick.

如果你不想使用作曲家,你必须编写自己的smtp客户端。我从来没有尝试过,但是从我听到的skpsmtpmessage应该做的伎俩。

#1


0  

if you don't want to use the composer you have to write your own smtp client. I've never tried it but from what I've heard skpsmtpmessage should do the trick.

如果你不想使用作曲家,你必须编写自己的smtp客户端。我从来没有尝试过,但是从我听到的skpsmtpmessage应该做的伎俩。