Description: SendMail activity in BW 6.x fails when the application is running on Windows. However, a BW 5.x application with the same configuration works fine.
Symptoms: When running the application with SendMail activity, the application fails with the following error:
javax.mail.MessagingException: Could not connect to SMTP host: <host_name>, port: <port>
Test connection for SMTP resource shows the below error:
Configuration error in field [Host] and/or [port], the value must be a valid hostname and/or port
Cause: The reason for the error is that IPv6 is defaulted on Windows starting from JDK 7.