=== Export Mailer for Gravity Forms ===
Contributors: molonado
Tags: gravity forms, export, email, scheduled export, xlsx
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.2
Stable tag: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Scheduled Excel, CSV and PDF exports from Gravity Forms, sent automatically by email.

== Description ==

Export Mailer for Gravity Forms sends your form entries as a file attachment on a schedule you define. No manual exports, no logging in every week to download data.

Set it up once: pick a form, choose your fields, set a schedule and enter an email address. The plugin does the rest.

= Supported formats =

* Excel (.xlsx)
* CSV
* PDF

= Scheduling options =

* Daily
* Twice daily
* Weekly (choose the day)
* Monthly (choose the day of the month)

= What gets exported =

You can choose between three modes:

* **New entries since last export:** only sends what came in since the last run, nothing duplicate
* **All entries:** full snapshot of the form every time
* **Fixed number:** always the last N entries

= Other features =

* Drag and drop to set column order in the export
* Run history showing the last 10 executions per job with status and entry count
* Pause a job without deleting it
* Send now button to trigger an export manually
* Server cron setup guide built into the editor (for more precise scheduling than WP-Cron)
* Translations included for German, French and Spanish

= Limitations =

This plugin supports one export job and one recipient email. A version without these limits is available at [molonado.com](https://molonado.com/gfexportmailer).

= Requirements =

* WordPress 6.0 or later
* PHP 7.2 or later
* Gravity Forms (any current version)

== Installation ==

1. Upload the `export-mailer-for-gravity-forms` folder to `/wp-content/plugins/`
2. Activate the plugin in the Plugins menu
3. Go to Forms > Export Mailer
4. Click Add New Export

You can also install it directly from the WordPress plugin directory.

== Frequently Asked Questions ==

= Does this work without Gravity Forms? =

No. The plugin will show a notice if Gravity Forms is not active.

= Nothing gets sent when there are no new entries. Is that a bug? =

No, that's intentional. When using the "new entries since last export" mode, the plugin skips sending if there's nothing new. The run is still logged.

= Can I send to an email address other than the admin email? =

Yes, any email address works.

= Does the export file stay on the server? =

No. The file is created in the server temp folder and deleted right after the email is sent.

= Which timezone do the scheduled times use? =

The WordPress site timezone, set under Settings > General.

= How do I set up a real server cron? =

Open any export job in the editor and expand the "Set up server cron" section. It shows the exact command for cPanel and Linux.

== Screenshots ==

1. Export job overview with status and next scheduled run
2. Job editor with field picker, schedule and delivery settings
3. Drag and drop field picker for setting column order
4. Run history log per job
5. Example export email

== Changelog ==

= 1.0.2 =
* Added Request a Feature link

= 1.0.1 =
* Initial release

== Upgrade Notice ==

= 1.0.2 =
* Added Request a Feature link

= 1.0.1 =
Initial release.
