|
@@ -119,9 +119,9 @@ public class EmailUtilsNew {
|
|
mm.setContent(multipart);
|
|
mm.setContent(multipart);
|
|
Transport.send(mm);
|
|
Transport.send(mm);
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
- String err = e.getMessage();
|
|
|
|
|
|
+
|
|
// 在这里处理message内容, 格式是固定的
|
|
// 在这里处理message内容, 格式是固定的
|
|
- System.out.println(err);
|
|
|
|
|
|
+ System.out.println(e.toString());
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|