Operation time out error while reading in mail

we unable to read mail from our production server. we are using “get mail” activity to read client mail but it throws an error “the operation has timed out” we changed the timeout MS as 300000 too but we can’t reach out the server. other thing same activity working fine in community version we using in testing sever. licensed version only we this problem