Configure Gmail with OAuth as input source
- Open ReadSoft Collector General settings dialog box.
- Select the Input tab.
-
Click
.
- In the dialog that is displayed, select OAuth in the Type list.
- Select Gmail in the Mail server box.
- In the Display name box, type a name that helps you remember what the input source configuration is used for. When the input source configuration is complete, what you enter here is displayed in the Display name column of the Input dialog.
- Add any additional relevant information in the Description box.
-
Click
Next.
The 2:Gmail OAuth account page is displayed.
- In the Client Id box, type the application ID generated when the application was registered in the API console. (for example, f7ce6223-8fe1-4199-b229-bfbe2b5209a0).
- In the Client Secret box, type the application secret code generated when the application was registered in the API console.
- Click Connect to check the connection.
-
You can use the
Start folder box to filter which folders are displayed in the dialog box.
(while configuring input source). For example, if a lot of folders are accessible from your email account and you use * only, it
may take a considerable amount of time to display the next configuration dialog box since the program looks for all folders that
are accessible from the account specified (including all public/global folders that may be available). It goes much faster if you
use a filter to limit the number of folders that need to be displayed. Consider the following suggestions:
-
In connection with specific paths, forward slashes (/) should be used (Inbox/Collector, for example).
Some mail servers use a different delimiter (backward slash(\), for example). You will need to test this to find out which delimiter applies. -
Using an asterisk (*) is recommended in connection with folder names:
-
Specifying Inbox/* would only display all sub-folders to the Inbox root folder for the specified account (eliminating the need to browse through all public/global folders that may be accessible from this account).
-
Specifying Inbox/Collector/* would narrow the search even more to only those folders (and their sub-folders) under the Collector folder that is under Inbox.
-
Using the /* characters at the end ensures that any additional sub-folders to sub-folders are also displayed. -
-
Click
Next after specifying the filters.
The folders that already exist for the user account specified are displayed. Select the folder where you want ReadSoft Collector to get the source files.
-
Click
Next.
-
Click an item in the folder list to access any potential sub-folders (a + sign is added to the list entry if sub-folders are present).
-
Click the plus sign (+) next to a folder in the list to display sub-folders.
-
You can create new folders by right-clicking a folder in the list and selecting Create folder.
-
- Specify the folder where files are worked on internally for safer processing. Click Next.
- Specify the destination folder where you want to put processed emails. See tips above. Click Next.
- Specify the folder where you want to put emails that contain errors after processing. Click Next.
-
Click
Finish.
A ReadSoft Invoices Interpret job that is configured to process email using ReadSoft Collector can handle both image and XML-based invoices that are included as attachments but not in the same email. That is, you can have emails with XML attachments, or you can have emails with image file attachments, but you cannot have both XML and image files in the same email.
Related topic