Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Refactor Email #1615

Open
jim-parry opened this issue Dec 16, 2018 · 11 comments
Open

WIP Refactor Email #1615

jim-parry opened this issue Dec 16, 2018 · 11 comments
Assignees
Labels
dev in progress missing feature Reported issue which is not a bug but needs to be implemented
Milestone

Comments

@jim-parry
Copy link
Contributor

jim-parry commented Dec 16, 2018

Rework the Email package to be consistent with the other CI4 packages - exceptions, email vs Transporter, unit testing.
Being worked on in feature/email branch.

@jim-parry jim-parry added this to the 4.0.0 milestone Dec 16, 2018
@jim-parry jim-parry self-assigned this Dec 16, 2018
@jim-parry jim-parry modified the milestones: 4.0.0, 4.0.1? Jan 2, 2019
@jim-parry jim-parry added the missing feature Reported issue which is not a bug but needs to be implemented label Feb 27, 2019
@jim-parry jim-parry added the dev label Mar 6, 2019
@lonnieezell
Copy link
Member

@jim-parry Will this be ready for RC1? We need to ship some form of email with the framework.

At one point I had ported over the CI3 version, but it looks like it's no longer there?

@jim-parry
Copy link
Contributor Author

jim-parry commented May 13, 2019 via email

@jim-parry jim-parry modified the milestones: 4.0.*, 4.0.0-rc.1 May 13, 2019
@lonnieezell
Copy link
Member

Oh, not in a huge rush for RC 1. First week of next month is a good goal, I think.

@lonnieezell
Copy link
Member

@jim-parry Had a chance to make any progress with this?

@jim-parry
Copy link
Contributor Author

Coming along slow but steady :-/

@lonnieezell lonnieezell modified the milestones: 4.0.0-rc.1, 4.1.0 Jul 24, 2019
@jim-parry jim-parry changed the title Refactor Email WIP Refactor Email Aug 20, 2019
@MGatner
Copy link
Member

MGatner commented Jun 24, 2020

The current Email is driving me crazy. I'm shocked it made it so long in CI3 in its current state - or maybe something was lost in the port? Do we have any of the refactor that Jim started? or is that lost and we need a fresh start?

@lonnieezell
Copy link
Member

Looks like that was lost. I had hoped he had a branch here for it but don't see one. :(

@michalsn
Copy link
Member

Here is some work started by Jim on this: https://github.com/jim-parry/CodeIgniter4/tree/refactor/email/system/Email

@ivantcholakov
Copy link

ivantcholakov commented Jun 28, 2020

https://forum.codeigniter.com/thread-73487.html

I think, at the current situation the choice is obvious. Keep the current API and the same. Keep the documentation about the API the same. And place PHPMailer behind the curtain. For CI 3 I did this for years without problems (no problems about internal encodings and about Bulgarian language).

The maintainer of PHPMailer spent years for polishing it, it is a hard burden that is unnecessary for you to take.

Edit: As far as I can remember about CI3, its Email library missed a feature - embedding an image within the message body text. So, if you want to put a logo somewhere, the original library can't help. I might be wrong, this is what I can recall.

@MGatner
Copy link
Member

MGatner commented Aug 25, 2020

I've started a refactor branch with Jim's work: https://github.com/codeigniter4/CodeIgniter4/tree/refactor/email

We will need to decide if this is going to replace the existing class or run alongside it (in other words, how much breaks and whether it can be a point update).

@MGatner
Copy link
Member

MGatner commented Apr 25, 2022

update for v4.2: Some of Jim's work was in a different direction than we've decided to take this. I incorporated much of it into a new branch that is well underway, but I need to hand it off due to time constraints.

The new branch: https://github.com/codeigniter4/CodeIgniter4/tree/feature/mailer

@paulbalandan paulbalandan modified the milestones: 4.1.0, 4.4 Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev in progress missing feature Reported issue which is not a bug but needs to be implemented
Projects
None yet
Development

No branches or pull requests

6 participants