Welcome Guest, Not a member yet? Register   Sign In
[feature] Email module

(This post was last modified: 04-29-2019, 11:58 AM by ciadmin.)

Thank you all for participating in the Email third part provider poll.
Our email implementation is in progress, but not the highest priority compared to the 4.0.0 release.

Planned so far:
[x] separate Email\Email class, which encapsulates an Email entity
[x] Email\TransporterInterface, which abstracts the behavior of a mail transport agent, or a wrapper for same, or even an external email service
[.] Email\Handlers\BaseHandler, which implements the common methods of a Transporter
[.] Email\Handlers\MailHandler, which uses (PHP)mail to send emails; was in CI3
[.] Email\Handlers\SendmailHandler, which uses sendmail to send emails; was in CI3
[.] Email\Handlers\SMTPHandler, which uses SMTP to send emails; was in CI3
[.] Email\Handlers\PHPMailer, adapter for 3rd party module suggested by poll
[.] revised user guide writeup for handling email
[x] unit testing for Email\Email
[.] unit testing for Email\Handlers\...
[ ] using an external email testing service for unit testing; leaning towads https://mailcatcher.me/

This is a roadmap feature, or "epic", and a card on the roadmap board.
Component tasks will show up as issues or PRs on the development board.
We welcome comments & suggestions below.

PHPMailer looks like an important choice for the CodeIgniter community, and a complete solution.

The big difference between PHPMailer and the in-progress Email module for CodeIgniter4 is that we have separated the Email and the handling classes, unlike PHPMailer and the CI3 implementation, which bundle them together into a single class (with supporting classes).

We could just use PHPMailer and be done with it, or we can continue on the current path, which would allow the use of a number of mailers with minimal code change.

What do you think?

Messages In This Thread
[feature] Email module - by ciadmin - 04-29-2019, 11:51 AM
RE: [feature] Email module - by MGatner - 04-30-2019, 05:30 AM
RE: [feature] Email module - by php_rocs - 04-30-2019, 06:29 AM
RE: [feature] Email module - by dave friend - 04-30-2019, 02:11 PM
RE: [feature] Email module - by ciadmin - 04-30-2019, 04:22 PM
RE: [feature] Email module - by jasonzig - 06-01-2019, 08:09 AM

Theme © iAndrew 2016 - Forum software by © MyBB