Skip to content

v1.1.0 – Reply-To Support

Choose a tag to compare

@Maatify Maatify released this 17 May 11:08
· 7 commits to main since this release

تمام يا Mohamed — دي مناسبة كـ GitHub Release لـ v1.1.0:

Maatify Email Delivery v1.1.0

This release adds Reply-To support to the Maatify Email Delivery pipeline.

It allows queued emails to define an optional Reply-To address, making it especially useful for admin notifications, contact forms, support messages, and customer-originated emails where replies should go back to the original sender.


✨ Added

  • Added optional replyTo support to EmailQueuePayloadDTO.
  • Added optional $replyToEmail parameter to EmailTransportInterface::send().
  • Added Reply-To header handling in SmtpEmailTransport using PHPMailer's addReplyTo().
  • Updated EmailQueueWorker to extract replyTo from the decoded queue payload and pass it to the transport.

🔁 Changed

  • EmailQueuePayloadDTO::toArray() now includes a replyTo key.
  • Existing queued payloads without replyTo remain fully backward compatible.

🧩 Use Case

A common use case is admin notification emails:

  • Email is sent to the admin
  • Reply-To is set to the customer email
  • When the admin clicks reply, the response goes directly to the customer

✅ Backward Compatibility

This release is backward compatible.

Existing queue payloads without replyTo continue to work normally.


📦 Installation

composer require maatify/email-delivery:^1.1

🧩 Part of the Maatify Ecosystem

This package integrates with:

  • maatify/crypto

License

MIT License