(SMTP) I get a notification to say that an attempt to connect with my gmail account has failed. What do I do?

Please can you help me. (SMTP) I get a notification to say that an attempt to connect with my gmail account has failed. I have tried to get the system to diagnostically solev the issue without joy. What do I do?

Hello Martin, what version of eM Client are you currently using on your computer, can you please check the exact release number in Help > About? What mail service are you using with eM Client?

Can you please check the exact version number in Help > About?

When the error occurs, can you please switch to the “Log” tab, copy the content of the Log and submit it to us here on the forum?

Thank you.

Hi,

I am using Version 6

Version 6.0.22336.0

Issue date 22/04 - must be the date I installed it.

I want eM Client to interface with my G Mail.

6:06:44 AM Online state: changed to online due to NetworkAvailability
6:06:45 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
6:06:46 AM [email protected] [SMTP]  Connecting: To [email protected]
6:06:46 AM [email protected] [SMTP]  MailExceptions.SocketException: Connection failed due to the following reason:
6:06:46 AM     “An attempt was made to access a socket in a way forbidden by its access permissions 173.194.72.108:587”
6:06:46 AM    at MailClient.Smtp.SmtpSendCommand.Connect(WorkerStatus status)
6:06:46 AM    at MailClient.Smtp.SmtpSendCommand.Execute(WorkerStatus status)
6:06:46 AM    at MailClient.Commands.Command.Process(WorkerStatus status)
6:06:47 AM [email protected] [GData]  Synchronizing folder list
6:06:48 AM [email protected] [GData]  Synchronizing folder list
6:06:48 AM [email protected] [GData]  Synchronizing folder list
6:06:49 AM [email protected] [GData]  Synchronizing folder list
6:06:49 AM [email protected] [GData]  Synchronizing folder list
6:06:50 AM [email protected] [GData]  Synchronizing folder list
6:06:50 AM [email protected] [GData]  Synchronizing folder ‘[email protected]/Contacts/’
6:06:51 AM [email protected] [GData]  Synchronizing folder list
6:06:51 AM [email protected] [GData]  Synchronizing folder list
6:06:51 AM [email protected] [IMAP]  Synchronizing subfolders: Done
6:06:51 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Inbox
6:06:51 AM [email protected] [GData]  Synchronizing folder ‘[email protected]/Contacts/’
6:06:52 AM [email protected] [GData]  Synchronizing folder ‘[email protected]/[email protected]/’
6:06:52 AM [email protected] [IMAP]  Synchronizing subfolders: Done
6:06:52 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Gmail]
6:06:53 AM [email protected] [IMAP]  Synchronizing subfolders: Done
6:06:53 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Gmail]/Trash
6:06:54 AM [email protected] [IMAP]  Synchronizing subfolders: Done
6:06:54 AM [email protected] [IMAP]  Synchronizing messages: For folder [email protected]/Inbox
6:06:55 AM [email protected] [IMAP]  Synchronizing messages: For folder [email protected]/Inbox
6:06:56 AM [email protected] [IMAP]  Synchronizing messages: For folder [email protected]/Inbox
6:06:56 AM [email protected] [IMAP]  Synchronizing messages: For folder [email protected]/Inbox
6:06:56 AM [email protected] [IMAP]  Synchronizing messages: Done
6:07:58 AM [email protected] [IMAP]  Downloading message part…
6:07:59 AM [email protected] [IMAP]  Downloading message part…: Done
6:07:59 AM [email protected] [IMAP]  Downloading message part…
6:07:59 AM [email protected] [IMAP]  Downloading message part…: Done
6:08:04 AM [email protected] [IMAP]  Synchronizing message flags: For folder [email protected]/Inbox
6:08:05 AM [email protected] [IMAP]  Synchronizing message flags: Done
6:08:05 AM [email protected] [IMAP]  Synchronizing message flags: For folder [email protected]/Inbox
6:08:05 AM [email protected] [IMAP]  Synchronizing message flags: Done
6:11:51 AM [email protected] [IMAP]  Synchronizing messages: For folder [email protected]/Inbox
6:11:51 AM [email protected] [IMAP]  Synchronizing messages: For folder [email protected]/Inbox
6:11:51 AM [email protected] [IMAP]  Synchronizing messages: Done
6:16:44 AM [email protected] [SMTP]  Connecting: To [email protected]
6:16:44 AM [email protected] [SMTP]  MailExceptions.SocketException: Connection failed due to the following reason:
6:16:44 AM     “An attempt was made to access a socket in a way forbidden by its access permissions 173.194.72.108:587”
6:16:44 AM    at MailClient.Smtp.SmtpSendCommand.Connect(WorkerStatus status)
6:16:44 AM    at MailClient.Smtp.SmtpSendCommand.Execute(WorkerStatus status)
6:16:44 AM    at MailClient.Commands.Command.Process(WorkerStatus status)
6:16:44 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
6:16:44 AM [email protected] [GData]  Synchronizing folder list
6:16:44 AM [email protected] [GData]  Synchronizing folder list
6:16:45 AM [email protected] [GData]  Synchronizing folder ‘[email protected]/Contacts/’
6:16:45 AM [email protected] [IMAP]  Synchronizing subfolders: Done
6:16:45 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Inbox
6:16:46 AM [email protected] [IMAP]  Synchronizing subfolders: Done
6:16:46 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Gmail]
6:16:47 AM [email protected] [IMAP]  Synchronizing subfolders: Done
6:16:47 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Gmail]/Trash
6:16:48 AM [email protected] [IMAP]  Synchronizing subfolders: Done
6:19:39 AM [email protected] [SMTP]  Connecting: To [email protected]
6:19:39 AM [email protected] [SMTP]  MailExceptions.SocketException: Connection failed due to the following reason:
6:19:39 AM     “An attempt was made to access a socket in a way forbidden by its access permissions 173.194.72.108:587”
6:19:39 AM    at MailClient.Smtp.SmtpSendCommand.Connect(WorkerStatus status)
6:19:39 AM    at MailClient.Smtp.SmtpSendCommand.Execute(WorkerStatus status)
6:19:39 AM    at MailClient.Commands.Command.Process(WorkerStatus status)
6:19:39 AM [email protected] [GData]  Synchronizing folder list

6:19:40 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
6:19:40 AM [email protected] [GData]  Synchronizing folder list
6:19:41 AM [email protected] [GData]  Synchronizing folder ‘[email protected]/Contacts/’
6:19:41 AM [email protected] [IMAP]  Synchronizing subfolders: Done
6:19:41 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Inbox
6:19:42 AM [email protected] [IMAP]  Synchronizing subfolders: Done
6:19:42 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Gmail]
6:19:43 AM [email protected] [IMAP]  Synchronizing subfolders: Done
6:19:43 AM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Gmail]/Trash
6:19:44 AM [email protected] [IMAP]  Synchronizing subfolders: Done

I hope you can help me

Regards,

Martin

Hello again Martin,
based on the error it seems the server settings for SMTP in your account settings may not be correct or you might be using a security software that has disabled the application’s ability to connect to the server, can you please make a screenshot of your SMTP settings from Tools > Accounts > Your account, try to temporarily disable any security software on your computer and check if the issue persists?

Hello Paul,

         I am having similar issue but how ever I will get emails and I am able to send emails but problem is that the error messages are keep coming up. I am using default windows security essentials.

        Please advise what needs to be done to resolve this.

Thanks,
Sudhir.

Hello Sudhir, are you using any security software on your computer? What exact error are you experiencing on your computer, can you please make a screenshot of the error or copy the content of the log from the log tab as well? What version of eM Client are you currently using on your computer, can you please check the exact release number in Help > About?

Regards,

Hi Paul,

         See below for the details you’ve asked. -

         

Error didn’t occurred now but once I get that I’ll reply here.

Thanks,
Sudhir

Hello, seems like this is a completely different error, please install the latest release of eM client, 6.0.23181.0 and check if the issue persists, if it does, please switch to the log tab when the error occurs, copy the content of the log and submit it to us here on forum - it would however be more convenient to submit details of the error to another topic, as the issues are not related.

Regards,

Hello Paul,

         I’ve downloaded latest version today in my another laptop. I noticed same error though incoming and outgoing mails are working as expected but still getting the error message. Here is the log.

4:24:06 PM Online state: changed to online due to NetworkAvailability 4:24:06 PM [email protected] [IMAP]  Uploading messages: To folder [email protected]/Inbox
4:24:07 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
4:24:11 PM [email protected] [GData]  Synchronizing folder list
4:24:15 PM [email protected] [GData]  Synchronizing folder list
4:24:16 PM [email protected] [GData]  Synchronizing folder list
4:24:16 PM [email protected] [GData]  Synchronizing folder list
4:24:17 PM [email protected] [GData]  Synchronizing folder list
4:24:17 PM [email protected] [IMAP]  Synchronizing subfolders: Done
4:24:17 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Inbox
4:24:17 PM [email protected] [IMAP]  Uploading messages: Done
4:24:17 PM [email protected] [GData]  Synchronizing folder list
4:24:17 PM [email protected] [IMAP]  Synchronizing subfolders: Done
4:24:18 PM [email protected] [IMAP]  Synchronizing messages: For folder [email protected]/Inbox
4:24:18 PM [email protected] [GData]  Synchronizing folder ‘[email protected]/Contacts/’
4:24:30 PM [email protected] [IMAP]  Synchronizing message flags: For folder [email protected]/Inbox
4:24:30 PM [email protected] [IMAP]  Synchronizing message flags: Done
4:24:30 PM [email protected] [IMAP]  Downloading message part…
4:24:31 PM [email protected] [IMAP]  Downloading message part…: Done
4:24:40 PM [email protected] [IMAP]  Synchronizing messages: Done
4:24:40 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Gmail]
4:24:40 PM [email protected] [IMAP]  Synchronizing subfolders: Done
4:24:40 PM [email protected] [IMAP]  Synchronizing messages: For folder [email protected]/Inbox
4:24:41 PM [email protected] [IMAP]  Synchronizing messages: Done
4:24:41 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Friends
4:24:41 PM [email protected] [IMAP]  Synchronizing subfolders: Done
4:24:41 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Relatives
4:24:42 PM [email protected] [IMAP]  Synchronizing subfolders: Done
4:24:42 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Shopping
4:24:43 PM [email protected] [IMAP]  Synchronizing subfolders: Done
4:24:43 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Mailbox]
4:24:43 PM [email protected] [IMAP]  Synchronizing subfolders: Done
4:25:03 PM [email protected] [GData]  Synchronizing folder ‘[email protected]/Sudhir’s list/’
4:25:04 PM [email protected] [GData]  Synchronizing folder ‘[email protected]/[email protected]/’
4:26:21 PM [email protected] [IMAP]  Synchronizing messages: For folder [email protected]/Inbox
4:26:22 PM [email protected] [IMAP]  Synchronizing messages: For folder [email protected]/Inbox
4:26:22 PM [email protected] [IMAP]  Synchronizing messages: Done
4:26:43 PM Online state: changed to offline due to User 
4:26:43 PM Online state: changed to online due to User 
4:26:43 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
4:26:43 PM [email protected] [GData]  Synchronizing folder list
4:26:43 PM [email protected] [XMPP]  MailExceptions.OperationException: This operation is only allowed using a successfully authenticated context.
4:26:43 PM [email protected] [GData]  Synchronizing folder list
4:26:44 PM [email protected] [GData]  Synchronizing folder list
4:26:44 PM [email protected] [GData]  Synchronizing folder list
4:26:44 PM [email protected] [GData]  Synchronizing folder list
4:26:45 PM [email protected] [GData]  Synchronizing folder ‘[email protected]/Contacts/’
4:26:45 PM [email protected] [IMAP]  Synchronizing subfolders: Done
4:26:45 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Inbox
4:26:46 PM [email protected] [IMAP]  Synchronizing subfolders: Done
4:26:46 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Friends
4:26:46 PM [email protected] [IMAP]  Synchronizing subfolders: Done
4:26:46 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Relatives
4:26:47 PM [email protected] [IMAP]  Synchronizing subfolders: Done
4:26:47 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Shopping
4:26:47 PM [email protected] [IMAP]  Synchronizing subfolders: Done
4:26:47 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Gmail]
4:26:48 PM [email protected] [IMAP]  Synchronizing subfolders: Done
4:26:48 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Mailbox]
4:26:48 PM [email protected] [IMAP]  Synchronizing subfolders: Done
4:26:48 PM [email protected] [IMAP]  Synchronizing messages: For folder [email protected]/Inbox
4:26:50 PM [email protected] [IMAP]  Synchronizing messages: Done
4:26:58 PM [email protected] [IMAP]  Downloading message part…
4:26:59 PM [email protected] [IMAP]  Downloading message part…: Done
4:26:59 PM [email protected] [IMAP]  Downloading message part…
4:27:01 PM [email protected] [IMAP]  Downloading message part…: Done
4:27:01 PM [email protected] [IMAP]  Downloading message part…
4:27:01 PM [email protected] [IMAP]  Downloading message part…: Done
4:27:01 PM [email protected] [IMAP]  Downloading message part…
4:27:01 PM [email protected] [IMAP]  Downloading message part…: Done
4:27:01 PM [email protected] [IMAP]  Downloading message part…
4:27:02 PM [email protected] [IMAP]  Downloading message part…: Done
4:27:02 PM [email protected] [IMAP]  Downloading message part…
4:27:02 PM [email protected] [IMAP]  Downloading message part…: Done
4:27:07 PM [email protected] [IMAP]  Synchronizing message flags: For folder [email protected]/Inbox
4:27:07 PM [email protected] [IMAP]  Synchronizing message flags: Done
4:30:40 PM [email protected] [IMAP]  Downloading message part…
4:30:40 PM [email protected] [IMAP]  Downloading message part…: Done
4:30:41 PM [email protected] [IMAP]  Downloading message part…
4:30:41 PM [email protected] [IMAP]  Downloading message part…: Done
4:30:45 PM [email protected] [IMAP]  Synchronizing message flags: For folder [email protected]/Inbox
4:30:45 PM [email protected] [IMAP]  Synchronizing message flags: Done
4:31:05 PM [email protected] [IMAP]  Synchronizing message flags: For folder [email protected]/Inbox
4:31:05 PM [email protected] [SMTP]  Connecting: To [email protected]
4:31:05 PM [email protected] [IMAP]  Synchronizing message flags: Done
4:31:07 PM [email protected] [SMTP]  Connected: To [email protected]
4:31:07 PM [email protected] [SMTP]  Sending messages
4:31:09 PM [email protected] [SMTP]  Disconnected: From [email protected]
4:31:09 PM [email protected] [SMTP]  Disconnected: Done
4:31:09 PM [email protected] [IMAP]  Uploading messages: To folder [email protected]/[Gmail]/Sent Mail
4:31:11 PM [email protected] [IMAP]  Uploading messages: Done
4:32:59 PM [email protected] [IMAP]  Synchronizing messages: For folder [email protected]/Inbox
4:32:59 PM [email protected] [IMAP]  Synchronizing messages: For folder [email protected]/Inbox
4:32:59 PM [email protected] [IMAP]  Synchronizing messages: Done
4:34:05 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
4:34:05 PM [email protected] [GData]  Synchronizing folder list
4:34:05 PM [email protected] [GData]  Synchronizing folder list
4:34:06 PM [email protected] [GData]  Synchronizing folder ‘[email protected]/Contacts/’
4:34:06 PM [email protected] [IMAP]  Synchronizing subfolders: Done
4:34:06 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Inbox
4:34:06 PM [email protected] [IMAP]  Synchronizing subfolders: Done
4:34:06 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Friends
4:34:07 PM [email protected] [IMAP]  Synchronizing subfolders: Done
4:34:07 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Relatives
4:34:07 PM [email protected] [IMAP]  Synchronizing subfolders: Done
4:34:07 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Shopping
4:34:08 PM [email protected] [IMAP]  Synchronizing subfolders: Done
4:34:08 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Gmail]
4:34:08 PM [email protected] [IMAP]  Synchronizing subfolders: Done
4:34:08 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Mailbox]
4:34:09 PM [email protected] [IMAP]  Synchronizing subfolders: Done
4:34:12 PM Online state: changed to offline due to NetworkAvailability 
6:05:41 PM Online state: changed to online due to NetworkAvailability 
6:05:41 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
6:05:51 PM [email protected] [XMPP]  MailExceptions.ConnectionException: 
6:05:51 PM (Bad host: talk.google.com)
6:06:23 PM [email protected] [GData]  Synchronizing folder list
6:06:23 PM [email protected] [GData]  Synchronizing folder list
6:06:24 PM [email protected] [GData]  Synchronizing folder list
6:06:24 PM [email protected] [GData]  Synchronizing folder list
6:06:24 PM [email protected] [GData]  Synchronizing folder list
6:06:25 PM [email protected] [GData]  Synchronizing folder list
6:06:25 PM [email protected] [GData]  Synchronizing folder ‘[email protected]/Contacts/’
6:06:25 PM [email protected] [IMAP]  Synchronizing subfolders: Done
6:06:25 PM [email protected] [IMAP]  Synchronizing messages: For folder [email protected]/Inbox
6:06:25 PM [email protected] [GData]  Synchronizing folder list
6:06:26 PM [email protected] [IMAP]  Synchronizing messages: For folder [email protected]/Inbox
6:06:26 PM [email protected] [IMAP]  Synchronizing messages: Done
6:06:26 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Inbox
6:06:27 PM [email protected] [GData]  Synchronizing folder list
6:06:27 PM [email protected] [IMAP]  Synchronizing subfolders: Done
6:06:27 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Friends
6:06:27 PM [email protected] [GData]  Synchronizing folder ‘[email protected]/Contacts/’
6:06:27 PM [email protected] [GData]  Synchronizing folder ‘[email protected]/[email protected]/’
6:06:27 PM [email protected] [IMAP]  Synchronizing subfolders: Done
6:06:27 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Relatives
6:06:28 PM [email protected] [IMAP]  Synchronizing subfolders: Done
6:06:28 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/Shopping
6:06:28 PM [email protected] [IMAP]  Synchronizing subfolders: Done
6:06:28 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Gmail]
6:06:29 PM [email protected] [IMAP]  Synchronizing subfolders: Done
6:06:29 PM [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/[Mailbox]
6:06:29 PM [email protected] [IMAP]  Synchronizing subfolders: Done

Please advise.

Are you able to send/receive chat messages through your gmail account? Can you please make sure that the XMPP service is using your identity credentials and that for example the XMPP service settings do not include an invalid password in the authentication box under Tools > Accounts > Your account > XMPP?

Are you using any security software on your computer, that may be blocking the connection? If so, please try to temporarily disable the software and check if the issue persists.

Regards,

Hi, I’m having the same problem. Using version 6.0.24928.0. Can you please help.

I have the same exact problem like Sudhir. Not able to receive or send emails.

Same here too. I have been using EMC for a long time and suddenly it won’t work. I have my TWC account through it. I have made sure to use the ports TWC suggests and have ran the EMC diagnostics for smpt and imap to no avail. I am getting the exact error msg as Sudhir B. except mine says TWC instead of gmail

Hello Tathagat,
please try to disable any security software you are using (Windows Firewall, antivirus software) and if that solves the issue, please add eM Client to exceptions in these programs.
If this does not help, please copy the content of the Tools>Operations>Log window here.

Regards,
Olivia

Hello Kelli,
please copy the content of the Tools>Operations>Log window here.
Also copy the version number from the Help>About section.

Regards,
Olivia