Hi Gene,
Yes, I am using SMTP mail server configured in the properties file.
case 1: When I set up
<core:set value='${propertiesClass.put("mail.smtp.socketFactory.port","587")}' var="void" />
<core:set value='${propertiesClass.put("mail.smtp.port", 25)}' var="void" />
I get the connection is established successfully
case 2: when I set up
<core:set value='${propertiesClass.put("mail.smtp.socketFactory.port","465")}' var="void" />
<core:set value='${propertiesClass.put("mail.smtp.port", 25)}' var="void" />
I get the connection is established successfully
case 3: when I set up mail port as 465 or 587
<core:set value='${propertiesClass.put("mail.smtp.socketFactory.port","587")}' var="void" />
<core:set value='${propertiesClass.put("mail.smtp.port", 465 or 587)}' var="void" />
I don't see the connection established
Case 4: when I set up
<core:set value='${propertiesClass.put("mail.smtp.socketFactory.port","25")}' var="void" />
<core:set value='${propertiesClass.put("mail.smtp.port", 25)}' var="void" />
I don't see the connection established
But in all the above conditions I am not getting any email.
Thanks for your patience.
Vamshi