Hi Thiru,
The line of code I gave you below is incorrect it is missing quotes. A
single line of code and I messed it up....duh.
The correct line is:
props.put("mail.smtp.port", "587");
Secondly, as Richard suggested I have posted this as a patch. To make
future upgrades easier you may want to implement the patch instead of the
single line of code I gave you.
The patch is here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1720105&group_id=19984&atid=319984
Have a good day,
Kyle
>Date: Wed, 09 May 2007 08:28:29 -0400
>To: [email protected]
>From: Kyle Brentnell <[EMAIL PROTECTED]>
>Subject: Re: [Dspace-tech] How to configure port number for DSpace
>In-Reply-To: <[EMAIL PROTECTED]>
>
>Hi Thiru,
>
>You will need to modify the source code to do this, but it is a very
>simple modification.
>
>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
>
>Kyle
>
>
>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
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>Kyle Brentnell
>
>Research Information Management Service Division
>International Development Research Centre
>PO Box 8500
>Ottawa, ON K1G 3H9
>Phone: 613-236-6163 x 2257
>Web: www.idrc.ca
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech