在哪里可以找到所有可用的Java邮件属性? [英] Where to find all available Java mail properties?

查看:146
本文介绍了在哪里可以找到所有可用的Java邮件属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在哪里可以找到可以传递给Session对象的所有可用Java邮件属性的列表?我只能在API中找到基本属性。浏览博客以找到更多属性并不好。某处必须有一些列表?

Where do I find a list of all available Java mail properties that I can pass to the Session object? I am only able to find basic properties in the API. Browsing blogs to find some more properties isn't good. There must be some list somewhere?

推荐答案

在api中是对特定sun协议提供程序的属性的引用。不确定您是否在寻找这些:

In the api is a reference to the properties for the specific sun protocol providers. Not sure if you were looking for these:

  • https://javaee.github.io/javamail/docs/api/com/sun/mail/imap/package-summary.html
  • https://javaee.github.io/javamail/docs/api/com/sun/mail/pop3/package-summary.html
  • https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package-summary.html

这些是也设置了会话对象,但你自己承担风险,因为在其他邮件实现中,它们可能不受支持或者将来会发生变化。

These are also set on the session object but you use them on your own risk since in other mail implementations they are maybe not supported or they change in the future.

这篇关于在哪里可以找到所有可用的Java邮件属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆