cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to get data sent from Gmail in SAP Integration Suite

kohei1sada
Explorer
0 Kudos
1,123

Since SAP Integration Suite can use IMAP and POP3 protocols, how can I use these protocols to receive emails in CPI?
What are the requirements for the sender side? If you have any experience with this, please respond.スクリーンショット (1238).png

View Entire Topic
karthikarjun
Active Contributor
0 Kudos

Hello kohei1sada - 

Step 1: Obtain the Gmail server details. If you're using Gmail, the host address should be smtp.gmail.com.

Step 2: Get the authorization credentials from Gmail. Follow the instructions in this blog: https://community.sap.com/t5/technology-blogs-by-members/setting-up-mail-in-sap-cpi/ba-p/13576752#:~...

Step 3: The Mail Sender adapter has a connection tab. Configure the address details there. Set the Proxy type to "Internet" and provide your credentials.

Step 4: In the tab next to Connection, called "Processing," enter the folder name (e.g., "INBOX" or any specific folder). Step 5: In the Selection dropdown box, choose the relevant functionality, such as "Unread emails." After processing, decide the action (e.g., whether to delete the email).

karthikarjun_0-1726927287506.png

 

Following these steps will help you achieve your goal.

 

Regards,

Karthik Arjun,

SAP Full-Stack Development

kohei1sada
Explorer
0 Kudos
Sending and receiving were realized. Thank you very much. However, I am unable to retrieve the item attached to the email in Groovy. The format of the email is Mime type multipart. Do you have any good ideas?