[ http://jira.dspace.org/jira/browse/DS-447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeffrey Trimble closed DS-447. ------------------------------ Documentation Status: Complete or Committed (was: Needed) Resolution: Fixed This was placed in Section 3.6 "Checking Your Installation". More on this section needs more than just the email test to be written, though I've enhanced it from the default "TODO". > Email test script > ----------------- > > Key: DS-447 > URL: http://jira.dspace.org/jira/browse/DS-447 > Project: DSpace 1.x > Issue Type: New Feature > Components: DSpace API > Reporter: Stuart Lewis > Assignee: Jeffrey Trimble > Priority: Minor > Fix For: 1.6.0 > > Attachments: email-test.patch > > > This patch adds a main() method to Email.java to send a test email. If the > email cannot be sent, the error message is shown. > This allows the email sending to be tested earlier during the installation, > rather than waiting for problems to show later on (e.g. when submitting new > items). This will help new users who get confused why submissions don't work, > and allows us to provide a method for the admins to report the error message > more easily. > Documentation (and messages in build.xml) will need updating to tell the user > to run this script. > [dspace]/bin/dsrun org.dspace.core.Email > (needs an entry in launcher.xml if committed to svn) > /dspace/bin/dsrun org.dspace.core.Email > About to send test email: > - To: s.le...@auckland.ac.nz > - Subject: DSpace test email > - Server: smtp.gmail.com > Email sent successfully! > or > /dspace/bin/dsrun org.dspace.core.Email > About to send test email: > - To: dspace-h...@myu.edu > - Subject: DSpace test email > - Server: smtp.gmail.com > Error sending email: > javax.mail.AuthenticationFailedException -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.dspace.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel