Hi Graham,

It sounds like you are looking for where the email is sent to the submitter
(of the item)?  If so, that happens as part of the workflow process in this
"notifyOfArchive()" method:
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/java/org/dspace/workflow/WorkflowManager.java#L919
(If approval workflow is disabled, this method is still called, as DSpace
always minimally runs a "zero step" workflow in order to notify the
submitter and then archive the item)

You'll also see at the bottom of that method a Warning should be logged (to
the DSpace logs) if the mail cannot be sent.  So, you may want to check
your DSpace logs (and even the Tomcat logs) for any Error or Warning
messages related to emailing.

As a sidenote, in case it is useful, DSpace ships with an email testing
tool (as having email issues is a rather common problem).  You can
run [dspace]/bin/dspace test-email from the commandline, and DSpace will
attempt to use your current email configuration to send a test email
message to the configured "mail.admin" account.  More information on this
test script can be found in the Installation docs at:
https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-CheckingYourInstallation


Good luck,

Tim

On Tue, May 1, 2018 at 9:04 AM Graham Faulkner <[email protected]>
wrote:

> Good morning,
>
>
>
> We have been having problems with submissions timing out (at the very last
> stage when all metadata is entered). At the same time our library mail
> server was experiencing delays in sending mail through our campus network.
> Coincidence?
>
>
>
> Where in the DSpace code is the mail handling during the submission
> process? What clues could we look for in the DSpace server and mail server
> logs that might indicate that delayed mail is a cause of the submission
> timeouts?
>
>
>
> We are running DSpace 5.5 with XMLUI Mirage 2 theme.
>
>
>
> Cheers,
>
>
>
> Graham
>
>
>
>
>
> -----------------------------------------
>
> Graham Faulkner
>
> Information Technology Specialist/Developer
>
> Digital Initiatives, Library
>
> University of Waterloo
>
> Waterloo, Ontario N2L 3G1 CANADA
>
> 519-888-4567 x32461 <(519)%20888-4567>
>
> [email protected]
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to