-1

私はiPhoneアプリからメールを送信しています。ユーザーがメールの送信ボタンをクリックした後、test()メソッドを呼び出す必要があります。これを行う方法は次のコードを使用しています。

NSString * emailBody =@"<html><body>Thank you for your participation in Consulting<br>Practitioner and Client Program.</br><br>Attached is the copy of your signed contract for your records<p>Please email or fax your completed W-9 form to<br>our PEI Support Team<br>Email:PEISupportServices@zoetis.com<br>Fax:800-741-1310<body></html>";



[picker setMessageBody:emailBody isHTML:YES];





[self.navigationController presentViewController:picker animated:YES completion:nil];




}

}


 [self test];    

}

4

1 に答える 1