Send SMTP Mail Message Error:- System.Net.Sockets.SocketException: A connection attempt failed

@Harsha_S2,

Refer this thread for a workaround.

Also check this.

Thanks,
Ashok :slight_smile: