Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Read external mail through ABAP

Former Member
0 Likes
583

Hi All,

i want read external mail ( say yahoo, gamil etc) through ABAP code with attachments.

Thanks and regards

JK

3 REPLIES 3
Read only

Former Member
0 Likes
456

Hi,

Reading external email through pure ABAP won't be an easy task as far as I know. Because it needs user login and password authentication. Therefore it would be better to use something like cURL, which is a good tool for simulating a user's actions at a web browser. You can use cURL on a web server with php installed and after reading the emails pass the contents to ABAP.

Read only

Former Member
0 Likes
456

You can configure your SAP-System to receive SMTP-Mails (see note 455140). If this is done, you only need to (auto-)forward the mails from the external account to SAP.

Read only

former_member156446
Active Contributor
0 Likes
456

Hi you can use call_browser FM to call a URL of the email..