CodeIgniter Forums

Full Version: [Done] Email package protocols
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
We are in the process of modernizing the Email package - having it use exceptions, using the adapter process for different mail transport programs, and thorough unit testing. The CodeIgniter 3 Email supported three "protocols": mail, sendmail, and SMTP. We want to guage the relative importance of each of these to the CodeIgniter community, and have made a poll attached to this thread to measure that.

One of the goals for CodeIgniter 4 is unit testing & code coverage. We have a solution planned for the SMTP handler: using mailcatcher. We don't have a similar solution in mind for "mail" or "sendmail". If you have suggestions, please mention them in a post in this thread.

Thanks!
Care to share a link to the mailcatcher you're planning on using?
(12-17-2018, 08:45 AM)daveĀ friend Wrote: [ -> ]Care to share a link to the mailcatcher you're planning on using?

https://github.com/sj26/mailcatcher

Other useful links:

https://vladimir-ivanov.net/how-to-insta...t-for-php/
https://github.com/vccw-team/mailcatcher...travis.yml
https://serversforhackers.com/c/setting-up-mailcatcher
https://github.com/suzuki86/sample-of-us...n-travisci

It appears that there may be several non-forked repos named mailcatcher ... I need to check those out to make sure the one above is the "right" one.
(12-17-2018, 10:40 AM)ciadmin Wrote: [ -> ]It appears that there may be several non-forked repos named mailcatcher ... I need to check those out to make sure the one above is the "right" one.

All those links seem to relate to the same library found here. I want to make sure I understanding your statements about MailCatcher. You are looking at it as a tool for Email Testing during Development - right?
(12-17-2018, 11:42 AM)daveĀ friend Wrote: [ -> ]
(12-17-2018, 10:40 AM)ciadmin Wrote: [ -> ]It appears that there may be several non-forked repos named mailcatcher ... I need to check those out to make sure the one above is the "right" one.

All those links seem to relate to the same library found here. I want to make sure I understanding your statements about MailCatcher. You are looking at it as a tool for Email Testing during Development - right?

That is correct. I am interested in using locally and as part of travis-ci.
The github repo I cited is the source for the mailcatcher mentioned in the links.
Thanks!