cancel
Showing results for 
Search instead for 
Did you mean: 

Error in GMail Sender Channel

former_member559248
Discoverer
0 Kudos

Hi Community !

I'm trying to configure a sender cc to retrieve e-mails from GMail through IMAP.

My configuration is as follow:

Adapter : Mail 7.11

Transport protocol : IMAP4

Message protocol : XIPAYLOAD

imaps://imap.gmail.com:993/Inbox

Authentication Method : Plain

User : my_user

Password : xxx - xxx

I double-checked with basis team, firewall is correctly setup.

However, I get following error message:

exception caught during processing mail message; iaik.security.ssl.SSLException: Invalid SSL message, peer seems to be talking plain!

I tried to switch authentication method to CRAM-MD5, but no success.

Any clue ?

Thanks a lot for your help !

Sebastien

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member559248
Discoverer
0 Kudos

Thanks for your replies.

We need to use secure communication. I would prefer to use IMAP instead of POP, since account can be accessed from multiple ways (manually or thru PI) and IMAP is a better option for synchronization in this case.

As indicated in GMail help, we also need to use SSL :

http://support.google.com/mail/bin/static.py?hl=en&page=ts.cs&ts=1668960&from=75726&rd=1

I would like that we stick to my scenario: Access GMail thru IMAP over SSL. PI should be able to do that simple thing, but I'm not able to achieve this !

Any other idea ?

naveen_chichili
Active Contributor
0 Kudos

Hi Sebastien,

please try with normal SMTP.

Regards,

Naveen

baskar_gopalakrishnan2
Active Contributor
0 Kudos

SMTP is only for sending the mails.  POP3 or  IMAP3 are used for retrieving mails from the mail server.

@Sebastien: You might want to try using pop3 for this.  Also you might not need inbox for this.

You might google for the settings details

http://email.about.com/od/accessinggmail/f/Gmail_POP3_Settings.htm

nabendu_sen
Active Contributor
0 Kudos

Hi Sebastien,

The Error message is indicating that you are trying to connect securely but the other party or the mail server is expecting plain. I think "imaps://" is trying ti impose SSL authentication. Not sure only "imap" will work or not (like imap.gmail.com:993/Inbox OR imap.googlemail.com:993). Is this "/inbox" required?

Can you try with normal SMTP (<smtp.gmail.com>, Port = 465. For SSL try 587)?

Please find another question with same description in PI:http://scn.sap.com/thread/1848129