mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 23:13:10 +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>
|
<artifactId>commons-validator</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>javax.mail</groupId>
|
<groupId>com.sun.mail</groupId>
|
||||||
<artifactId>mail</artifactId>
|
<artifactId>javax.mail</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>javax.servlet</groupId>
|
<groupId>javax.servlet</groupId>
|
||||||
|
@@ -681,7 +681,7 @@ public class XmlWorkflowServiceImpl implements XmlWorkflowService {
|
|||||||
}
|
}
|
||||||
} catch (MessagingException e) {
|
} catch (MessagingException e) {
|
||||||
log.warn(LogHelper.getHeader(context, "notifyOfArchive",
|
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) {
|
} catch (MessagingException e) {
|
||||||
log.warn(LogHelper.getHeader(c, "notifyOfCuration",
|
log.warn(LogHelper.getHeader(c, "notifyOfCuration",
|
||||||
"cannot email users of workflow_item_id " + wi.getID()
|
"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",
|
log.warn(LogHelper.getHeader(c, "notify_of_reject",
|
||||||
"cannot email user" + " eperson_id" + e.getID()
|
"cannot email user" + " eperson_id" + e.getID()
|
||||||
+ " eperson_email" + e.getEmail()
|
+ " eperson_email" + e.getEmail()
|
||||||
+ " workflow_item_id" + wi.getID()));
|
+ " workflow_item_id" + wi.getID()), ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -104,8 +104,8 @@
|
|||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>javax.mail</groupId>
|
<groupId>com.sun.mail</groupId>
|
||||||
<artifactId>mail</artifactId>
|
<artifactId>javax.mail</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.mockito</groupId>
|
<groupId>org.mockito</groupId>
|
||||||
|
6
pom.xml
6
pom.xml
@@ -1439,9 +1439,9 @@
|
|||||||
<version>2.9.2</version>
|
<version>2.9.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>javax.mail</groupId>
|
<groupId>com.sun.mail</groupId>
|
||||||
<artifactId>mail</artifactId>
|
<artifactId>javax.mail</artifactId>
|
||||||
<version>1.4.7</version>
|
<version>1.6.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>javax.servlet</groupId>
|
<groupId>javax.servlet</groupId>
|
||||||
|
Reference in New Issue
Block a user