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
}
}
发送email的方法使用swing
最新推荐文章于 2023-08-14 17:30:40 发布
