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

Extract Swift mailer capability to new package #131

Open
fezfez opened this issue Nov 27, 2020 · 6 comments
Open

Extract Swift mailer capability to new package #131

fezfez opened this issue Nov 27, 2020 · 6 comments

Comments

@fezfez
Copy link

fezfez commented Nov 27, 2020

Hi,

I would like to drop the swiftmailer/swiftmailer dependencies from this package.

To achieve this i propose to add a new interface JobbyNotifier such has :

<?php 

namespace Jobby;

interface JobbyNotifier
{
    /**
     * @param string $job
     * @param string $message
     *
     * @return void
     */
    public function sendMessage($job, $message)
}

and new repo such has jobbyphp/jobby-swiftmailer.

the jobbyphp/jobby package could suggest to install jobbyphp/jobby-swiftmailer for mails capability.

A good alternative will be to add symfony/notifier but this will drop php 5.6, 7.0, 7.1.

How do you feel about this proposal ?

Thanks

@slawkens
Copy link

I like the idea, because it will allow to use custom mailing script if I understood it correctly?

So for example I can call my own _mail function?

@fezfez
Copy link
Author

fezfez commented Jan 23, 2021

Yes exactly

@darkalchemy
Copy link
Contributor

Hi @fezfez,

Would you be able to submit a pr for this?

@zstergios
Copy link

why you don't use phpmailer?

@jsokol
Copy link

jsokol commented Sep 18, 2022

@fezfez Wondering if you did any work on this? I'm seeing messages that swiftmailer is abandoned and should be replaced and just started to look into it. They appear to be recommending Symfony Mailer as the replacement. Regardless, I'd like to help if I can.

@fezfez
Copy link
Author

fezfez commented Sep 21, 2022

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

No branches or pull requests

5 participants