发送email的方法使用swing

来源:互联网 发布:数据交换接口规范.doc 编辑:程序博客网 时间:2024/06/05 08:40
f(Desktop.isDesktopSupported()){Desktop top = Desktop.getDesktop();try {URI uri = new URI("mailto:abced@qq.com");top.mail(uri);} catch (Exception e) {// TODO: handle exception}}

原创粉丝点击