Hi All,
We are getting this exception on our production servers (WIndows 2003) while sending emails using cfmail (ColdFusion 10) and local smtp server.
A problem occurred when attempting to deliver mail. This exception was caused by: javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25; nested exception is: java.net.BindException: Address already in use: connect.
We are sending emails using cfmail (with spooling = "No" because we are sending email attachments which will be deleted after sometime) and the email is not delivered to the users and we can see this exception in the application and in the Coldfusion mail logs as well after upgrading. to CF10
It seems the Coldfusion is opening more number of sockets to send emails but the sockets are already in use.
In one click we will be sending around 20 to 50 emails including attachments and we are using local smtp server to send the emails..We don't see any logs related to this in the smtp logs and port 25 is only listening to SMTP server.
Please let me know how to fix this issue? Is there anything to do with Coldfusion administrator settings Or SMTP server?
Regards,
Naresh