Skip to main content
How to automatically email a comma separated file containing users
How to automatically email a comma separated file containing users
A Flat File Export works like a Report Export, but sends a data file instead of a report. This one emails a list of users, with the fields you choose, for example every night for another system to import. The PDServer sends it through an Email Send Account; see How to create an Email Send Account if you have not set one up.
Create the Flat File Export
- Open Resource Manager.
- In the tree, click Scheduled Tasks > Flat File Exports.
- Click Add. The Flat File Export window opens.
- On the first page, fill in the Flat File Export name, Execute on PDServer, Send condition, and the email details (Account, To, Subject and Message). These work as for a Report Export; see How to set up automatic emailing of reports. Click Next >.
- Choose the schedule, for example Daily at 06:00, and click Next >.
- In the tree, click Flat File Exports > Users Export, and click Next >.
- Choose the file settings as described in How to create a comma separated file containing users: the Delimiter (for example Comma), Export column headers as first row, the Fields to be exported and their order, and any Filter Departments or Filter Users.
- Click Finish.
Test it now
- In Scheduled Tasks > Flat File Exports, right-click the Flat File Export and click Execute now.
- In the Execute on Next Refresh window, leave Use the current execution date & time (the date does not matter for a list of users), and click OK. Resource Manager asks the PDServer to run it straight away.
- After a minute or two, click View > Refresh and check the Last run, Status and Last message columns. Then check that the email arrived.
Related articles
- How to create a comma separated file containing users
- How to set up automatic emailing of reports
- How to create an Email Send Account
| Document revision date: 2026/11/03 Software version: 2.5.15.3 |
How to automatically email a comma separated file containing users
