mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-16 22:43:12 +00:00
Merge pull request #8124 from atmire/javax-mail-update
Javax mail update
This commit is contained in:
@@ -481,8 +481,8 @@
|
||||
<artifactId>commons-validator</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.mail</groupId>
|
||||
<artifactId>mail</artifactId>
|
||||
<groupId>com.sun.mail</groupId>
|
||||
<artifactId>javax.mail</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.servlet</groupId>
|
||||
|
@@ -681,7 +681,7 @@ public class XmlWorkflowServiceImpl implements XmlWorkflowService {
|
||||
}
|
||||
} catch (MessagingException e) {
|
||||
log.warn(LogHelper.getHeader(context, "notifyOfArchive",
|
||||
"cannot email user" + " item_id=" + item.getID()));
|
||||
"cannot email user" + " item_id=" + item.getID()), e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -715,7 +715,7 @@ public class XmlWorkflowServiceImpl implements XmlWorkflowService {
|
||||
} catch (MessagingException e) {
|
||||
log.warn(LogHelper.getHeader(c, "notifyOfCuration",
|
||||
"cannot email users of workflow_item_id " + wi.getID()
|
||||
+ ": " + e.getMessage()));
|
||||
+ ": " + e.getMessage()), e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1196,7 +1196,7 @@ public class XmlWorkflowServiceImpl implements XmlWorkflowService {
|
||||
log.warn(LogHelper.getHeader(c, "notify_of_reject",
|
||||
"cannot email user" + " eperson_id" + e.getID()
|
||||
+ " eperson_email" + e.getEmail()
|
||||
+ " workflow_item_id" + wi.getID()));
|
||||
+ " workflow_item_id" + wi.getID()), ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user