× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I can't use a POP/SMTP type configuration as OUTLOOK would be configured?


----- Original Message -----

From: "MARK GOLDEN" <mark_golden@xxxxxxxxxxxxxxx>
To: "RPG programming on the IBM i (AS/400 and iSeries)" <rpg400-l@xxxxxxxxxxxx>
Sent: Monday, July 11, 2016 1:22:46 PM
Subject: Re: Read Gmail from iSeries

Hi,
You need the console as this will give you account numbers, passwords, API keys etc. You need these tocreate Oauth2 'Token's' so you can use the api's to access the account. One other thing is that the email body and any attachment will be downloadedbase64 encoded.
R,Mark.

On Monday, 11 July 2016, 18:16, "tegger@xxxxxxxxxxx" <tegger@xxxxxxxxxxx> wrote:


I was thinking that the HTTPAPI would be the choice.
I just need to read the iseries email from the iseries itself, why would I need the console to talk to to it?



----- Original Message -----

From: "MARK GOLDEN" <mark_golden@xxxxxxxxxxxxxxx>
To: "RPG programming on the IBM i (AS/400 and iSeries)" <rpg400-l@xxxxxxxxxxxx>
Sent: Monday, July 11, 2016 12:57:44 PM
Subject: Re: Read Gmail from iSeries

Hi Jay,
I'm doing exactly that at the moment.
I am using the free 'Scott Klement' software HTTPAPI for the communications.
You will need to setup a new GMAIL account with admin authority.You should see the Google API console to set up a project and specify which GMIL API's you would like to use.You should use the Oauth2 Playground to get an idea of what is expected on your POST's and GET's and the security involved with Qauth2.
I have been able to access the account.Retrieve a list of email id's in that emails in box.Specify which email to retrieve.Specify an attachment on an email to retrieve.
All stored in an IFS directory

Regards,Mark.

On Monday, 11 July 2016, 17:49, "tegger@xxxxxxxxxxx" <tegger@xxxxxxxxxxx> wrote:


Has anyone had an iSeries open a connection to external email server and draw it's own mail into itself to parse it for specific data?

We have an idea were email received on a specific account gets forwarded over to the iSeries' own email account. The idea is to have the system retrieve those email from the server (Gmail in this case) and read through the emails looking for specific keywords. Depending upon the keywords found, do specific reactions.

Jay


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.