func sendMailAction() {
postman = Postman()
postman!.sendMailTo(
"[email protected]",
subject: "Hi",
body: "Livy Darling, \n\nI am grateful — grate-fuller than ever before — that you were born, & that your love is mine & our two lives woven & melded together! \n\n- SLC",
attachment: nil,
usingController: self)
postman!.delegate = self
}
func postmanDidFinished(postman: Postman!) {
println("postmanDidFinished!")
}
Postman 可通过 CocoaPods 获取。要安装它,只需将以下行添加到您的 Podfile 中:
pod 'Postman'
Hyper Interaktiv AS, [email protected]
Postman 可在 MIT 许可证下使用。有关更多信息,请参阅 LICENSE 文件。