iphone - SKPSMTP消息设置WatchdogTimer :]: message sent to deallocated instance

标签 iphone objective-c email smtp

我使用SKPSSMTP在后台发送电子邮件。我已经引用过这个code为此,但我收到 SKPSMTPMessage setWatchdogTimer:]: message sent to de allocate instance 此消息在日志中,并且电子邮件已成功接收。为了解决这个问题,我使用了 here 中的 ARC 类但在这种情况下我不会收到电子邮件。请帮忙。

最佳答案

我遇到了类似的问题,我通过使 SKPSMTPMessage 实例具有强属性并在消息成功发送后将其设置为 nil 来解决它

关于iphone - SKPSMTP消息设置WatchdogTimer :]: message sent to deallocated instance,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18031594/

相关文章:

html - 使用 codeigniter 发送 html 邮件

ios - 点击 TextField 重置 View 位置

iphone - 以编程方式获取设备的电话号码

objective-c - NSInspiration 和 super

ios - 核心数据-获取对象

php - 我应该如何从 PHPMailer 5.2 升级到 6.0?

ios - 为什么有时我的 UIBarButton 很粗有时很细

objective-c - 如何解决 undefined symbol 错误?

iphone - 如何在 iPhone 的 UIWebview 上显示 html 字符串?

html - Apple Mail 上的 SendGrid 电子邮件中的按钮链接不起作用