web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)
Unanswered

Error while testing out going email from dynamics CRM to Gmail (pop3) server

(0) ShareShare
ReportReport
Posted on by 164

Hello Experts,

We have configured Pop3 email profile to send email from Dynamics. 

While testing mailbox but we are getting below error in Alert messages:

An error occurred in sending email for mailbox "Test Message" while connecting to the email server. The owner of the associated email server profile admin user has been notified. The system will try to send email again later.

Email Server Error Code: Web server returned 2 ConnectFailure exception. Learn More

ActivityId: f640d897-8130-4f81-8b0d-e873127b3fa2

>Error : System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 74.125.200.109:587

   at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)

   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)

   --- End of inner exception stack trace ---

   at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.End(IAsyncResult result)

   at System.Net.Mail.SmtpClient.ConnectCallback(IAsyncResult result)

   --- End of inner exception stack trace ---

Has anyone faced similar issue and help to resolve this issue.

Customer has confirmed that port 465 & 587 are opened. 

*This post is locked for comments

I have the same question (0)
  • GuilleGranados Profile Picture
    on at

    Hi Deepak, I got the same issue:

    ActivityId: b30a961f-4645-4491-a92b-51c1adfe4fb7

    >Error : System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 74.125.28.109:110

      at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)

      at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)

      --- End of inner exception stack trace ---

    I have tried the same configuration in Outlook and it works correctly, so the problem is very likely to be located in Dynamics 365.

  • GuilleGranados Profile Picture
    on at

    Finally with the port 587 works well

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans