Though it is simple configuration steps in HCI, I spent lot of time understanding how Gmail is accepting authentication.. I would like to share my experiences on this.

I am assuming readers has basic knowledge of creating IFlow and Sender SOAP communication channel in HCI.


Scenario:  SOAP to MAIL



/wp-content/uploads/2016/09/1_1045622.png

Mail communication channel parameters


/wp-content/uploads/2016/09/2_1045623.png

Deploy Gmail Credentials in the Artifacts 


/wp-content/uploads/2016/09/3_1045624.png

When you provide your Gmail user ID and password, first instance you may get below error in HCI

Fault:534-5.7.9 Application-specific password required. Learn more at

534 5.7.9

AuthenticationFailedException:534-5.7.9 Application-specific password required

Point to be noted here is Gmail does not accept any direct connectivity from HCI, it expects 2 way connectivity as below.

Enable 2-step verification and set a App password for HCI.

/wp-content/uploads/2016/09/4_1045625.png

Select other custom app and generate a password in app passwords

/wp-content/uploads/2016/09/5_1045626.png

/wp-content/uploads/2016/09/6_1045627.png

Copy 16 character password and provide in HCI artifacts. Now it works for you..

/wp-content/uploads/2016/09/7_1045628.png

To report this post you need to login first.

4 Comments

You must be Logged on to comment or reply to a post.

  1. Pawel Kobylinski

    Hi Madhav,

    firstly thanks for this very ‘walk through’ but i have a question which answer to, i hope, you would know. so the situation is that i used in my flow ‘parallel ┬ámulticast’ and my message (which is soap request) reaches both web service and smtp server. my client (sproxy) expects response from web service but instead i receive exact copy of the content sent to SMTP server which leads to en exception in sproxy. do you know perhaps how could i make it stop, i mean how could i suppress this smtp respons and leave only response from web service ?

     

    best regards

    pawel

    (0) 

Leave a Reply