> In your DSpace source directory edit the file src\org\dspace\core\Email.java > > At line 258 in that file, insert a new line: > props.put("mail.smtp.port", 587); > > Note, this line should be right below a line that says: > props.put("mail.smtp.host", server); > > Rebuild your DSpace and you should be good to go
While you're doing that, if you want to actually add: int portNo = ConfigurationManager.getIntProperty("mail.server.port"); if (portNo == -1) { portNo = 25; } props.put("mail.smtp.port", portNo); Add mail.server.port to dspace.cfg, check it works ok, and submit it as a patch that would be grand! Cheers, Richard > At / À 07:32 AM 09/05/2007, thirunavukarasu selvam wrote / a écrit: > >> Hi Kyle, >> >> Ya You are right. >> I need the DSpace to connect to a mail server using port 587 for SMTP. >> >> Thank you >> Thiru.. >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> DSpace-tech mailing list >> DSpace-tech@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/dspace-tech > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Richard ------------------------------------------------------------------------ Richard Jones | t: +44 (0)20 759 [48614 / 41815] Web & Database | e: [EMAIL PROTECTED] Technology Specialist | b: http://chronicles-of-richard.blogspot.com/ Imperial College London | ------------------------------------------------------------------------ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech