struts2中的javax.mail.AuthenticationFailedException

时间:2016-05-22 06:20:01

标签: javamail

我在struts2中发送电子邮件时遇到问题。 struts2中的错误是 javax.mail.AuthenticationFailedException

代码:

    @IBAction func didTapShare(sender: AnyObject) {
    let videoURL = NSURL(fileURLWithPath:localVideoPath)
    let activityItems = [videoURL, "Check this out!" ]
    let activityController = UIActivityViewController(activityItems: activityItems, applicationActivities: nil)

    activityController.popoverPresentationController?.sourceView = self.view
    activityController.popoverPresentationController?.sourceRect = self.view.frame

    self.presentViewController(activityController, animated: true, completion: nil)
}

}

0 个答案:

没有答案