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

Email Library #13

Open
nilshoerrmann opened this issue May 23, 2013 · 10 comments
Open

Email Library #13

nilshoerrmann opened this issue May 23, 2013 · 10 comments
Labels

Comments

@nilshoerrmann
Copy link

One thing Symphony can be proud of is its simple, small and reliable email system. In the light of Next, wouldn't it be a good idea to release it as a standalone library? Might even be an interesting component for Laravel (which is currently relying on the huge dinosaur Swiftmailer).

@brendo
Copy link
Member

brendo commented May 23, 2013

I'd love this to happen.

We probably need to improve our CC/BBC support, but I think it's a
great idea.

@michael-e
Copy link
Member

Of course.

@nilshoerrmann
Copy link
Author

So is this an easy or a complicated task?

@michael-e
Copy link
Member

I have no idea, because I had no time to play with Laravel.

@nilshoerrmann
Copy link
Author

This has nothing to do with Laravel specifically.

@designermonkey
Copy link
Member

I wouldn't have thought so, it's just a matter of ensuring we follow a standard of coding, and keep the separation of dependencies correct.

@brendo
Copy link
Member

brendo commented May 23, 2013

It's most there, it's just creating a standalone set of classes that could be used by any code, without being Symphony specific. I think the main tie we have is the Configuration class, and that's a pretty loose dependency.

@designermonkey
Copy link
Member

Yeah, we just need to specify that it needs configuration injecting into it, and show an example of that configuration.

@creativedutchmen
Copy link
Member

So is this an easy or a complicated task?

Quite complicated. In fact, it will require almost an entire rewrite.

For Symphony the code works fine, because Symphony does not require its code to be automatically testable. So the email code wasn't written with that in mind.

@jensscherbl
Copy link
Member

Wasn't the purpose of using a framework not having to do stuff like this ourselves and instead just using the framework for it?

On a side note, open source webmailer Roundcube recently decoupled its core functions for IMAP access and SMTP email sending into Roundcube framework.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants