=== Hamail - Send Email via SendGrid ===

Tags: email, sendgrid, marketing  
Contributors: Takahashi_Fumiki, hametuha  
Tested up to: 6.8  
Stable Tag: 2.8.1
License: GPLv3 or later  
License URI: http://www.gnu.org/licenses/gpl-3.0.txt

A WordPress plugin to send contact mail to your users via Sendgrid.

== Description ==

This plugin enables you to send emails to each of your users.
No more long **to** or BCCs.

= Features =

- Use SMTP API to send emails. This affects all PHP Mailer in <code>wp_mail()</code> functions, 
  so you can use this plugin with other mail-delivering plugins like WooCommerce and Form plugins.
- User contact email.
- HTML SendGrid email Template.
- Override default email functions.
- Marketing Email creator
- Periodical Email(experimental)

= Enter API Key =

You need [SendGrid API Key](https://sendgrid.com/docs/Classroom/Send/How_Emails_Are_Sent/api_keys.html).

For more details, go to hamail setting screen.

== Installation ==

= From Plugin Repository =

Search "hamail" in WordPress admin screen. Click install and activate it.

= From GitHub =

Composer and NPM are required.

<pre>
// Go to your wp-content/plugins and run git
cd wp-content/plugins
git clone https://github.com/hametuha/hamail.git hamail
// Then move into
cd hamail
// Install dependencies
composer install
npm run package
</pre>

== FAQ ==

= Where can I get supported? =

To get supported, please go to [Support Forum](https://wordpress.org/support/plugin/hamail/).

= Is there any documentation? =

We have [Wiki on GitHub](https://github.com/hametuha/hamail/wiki). Please check it out.

= How can I contribute? =

We have [GitHub Repository](https://github.com/hametuha/hamail). Issues and Pull Requests are welcomed.

== Changelog ==

= 2.8.1 =

* Add `hamail_volatile_meta_keys()` function and filter to list custom fields (e.g. `_hamail_sent`, `_hamail_marketing_id`) that should not be carried over when duplicating posts. The list is also shown on the Hamail dashboard so you can configure plugins like Yoast Duplicate Post.

= 2.8.0 =

* Bump WordPress and PHP version.

= 2.7.7 =

* Bugfix: Restore Marketing API.

= 2.7.5 =

* Bugfix: fix transaction email error in case duplicated email address.

= 2.7.4 =

* Add notification for mail template. Legacy template lacks some features for ASM/Unsubscribe group.

= 2.7.3 =

* Add filter base class `Hametuha\Hamail\Pattern\Filters\UserFilterInputPattern` for user filter.

= 2.7.0 =

* Enhance user filter.

= 2.6.0 =

* Add layout block( `&lt;table&gt;` tag) because some email client does not support grid/flex layout.
* Each transaction mail can specify unsubscribe group.

= 2.5.1 =

* Add filter hook `hamail_transaction_content` to override transactional mail body.
* Restrict block for email editor. Override this by `allowed_block_types_all` filter.

= 2.5.0 =

* Add preview feature for transaction mail.
* Restrict legacy template for transaction mail.

= 2.4.2 =

* Bugfix: Fix error on the meta box data saving.

= 2.4.0 =

* Support SMTP API.
* Add marketing email logs.
* Marketing emails use excerpt as pre-header text.
* Arrange admin screen menu.

= 2.3.0 =

* Marketing mail is supported.

= 2.2.0 =

* Refactor recipient selector.
* Update syncing features.
* Add WP-CLI command for export users.

= 2.1.0 =

* Add reply feature. Jetpack contact is now supported.

= 2.0.1 =

* Fix `wp_mail` skipped.

= 2.0.0 =

* Add transactional email feature.
* Requires WordPress 5.0 and over.

= 1.0.0 =

* First release.
