Giter Site home page Giter Site logo

laravel-multimail's People

Contributors

alirezasedghi avatar iwasherefirst2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

laravel-multimail's Issues

Support Reply To Option

Hi,
Thanks for the great plugin.
Can we use replyTo option while sending email. As i need a dynamic replyTo for receiving emails if any user click on replyTo button?

Config

is it posible to add from_name to provider?

Using method later()

Hi there,
will it be possible to use the method later() to queue emails for later?
If not, is there a workaround how this can be done with this package?
Thanks a lot!

Custom config Class

I realized that you don't specify that we need to add 'config_class' => true, in multimail.php, I had a hard time understanding why my class wasn't loaded. Thanks!

Failed to send email with related configuration

Im using laravel 7.24 and php 7.4. im try to use this package in order to able to send email to our customer by different mail.
my multiple config is here (i dont dont want save this configuration in database)

'emails'  => [
        "[email protected]" => [
            'username'              => "[email protected]",
            'pass'                  => "13455",
        ],
        "[email protected]" => [
            'username'              => "[email protected]",
            'pass'                  => "12345",
        ],
    ],

if i keep the default email configuration in my env file and then try to send email with multimail i get this errror:

vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\AbstractSmtpTransport.php - Line:457Expected response code 250 but got code "554", with message "554 5.7.8 User [[email protected]] not authorized to send on behalf of <[email protected]>

if i remove this configuration, i get this error:

vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\AbstractSmtpTransport.php - Line:457Expected response code 250 but got code "550", with message "550 5.7.1 Relaying denied

i have to say that both my email address with related configuration is currect and i test it by default mail facade of Laravel.

whats is the problem with that?

Get Mail From Database

Dear iwasherefirst2
You could add a more detailed example of how to add the emails from the database. I have followed the documentation steps but I have not been able to. Please help.

How to input just mail provider using class MultiMail

I am testing the package and I would like to know if I can only pass through the provider in some way and pass the email address in the mail assembly within the same class. For example:

MultiMail::to(...) ->providerMail('mailgun') ->send(new ConfirmPayment(...));

from_name dynamic

Hello, I want to know Is possible to pass a variable in order to use the from_name?
Thanks

Issue when provider is Sparkpost

I created a provider as follows:

'provider' => [
        'sparkpost' => [
            'host' => 'smtp.sparkpostmail.com',
            'port' => 587,
            'encryption' => env('MAIL_ENCRYPTION'),
            'driver' => 'smtp',
        ]

as well as an email for that provider:

'[email protected]' => [
            'username' => '[email protected]',
            'pass' => env('SPARKPOST_SECRET'),
            'from_name' => 'My name',
            'provider' => 'sparkpost',
        ]

But I get:
Failed to authenticate on SMTP server with username "[email protected]" using 2 possible authenticators. Authenticator LOGIN returned Swift_TransportException: Expected response code 235 but got code "535", with message "535 5.7.8 Authentication credentials invalid.

When using the default Mail facade with sparkpost all emails are sent, which lead me to think that "pass" key in the defined email is not being set up correctly.

Could you help me out to sort this?

onQueue not working

queue-list

  1. list-1 (default)
  2. list-2

$message = (new OrderShipped($order))
->onQueue('list-2');

onQueue method not working
it send to default

providers not being detected

Halo! sorry I was going to ask you about one of your repositories on github because it is super suuuuper useful but I found a little error that you had on the MultiMail.php file where when you have a different provider does not pass the correct array and therefore you cannot use it I was wondering if you could open a pull request so I can send u the changes that I did, or if I'm mistaken please tell me how to propertly configure the package it is way too good and is something that actually saved me at work so I want to help
just in case the error was on the $provider variable where at first was

[$provider = (!empty($config['provider'])) ? $config['provider'] : config('multimail.provider.default'); ] 

so the $provider will only return the name of the provider and not the config array (checked with a dd function and I could only see the provider's name) and I changed it for

[ $provider = (!empty($config['provider'])) ? config('multimail.provider.'.$config['provider']) : config('multimail.provider.default');] 

where it takes the name of the provider adn puts it so it can take the configuration, Sorry for the inconvenience and Good Day! you are really amazing and I just want to help

Log driver throw error if pass or username missed

This commit say that is not longer required c3926ca
But i still receive error on log driver when pass or username are missing

Username or password for log is missing in config/multimail.php and no default specified!

Maybe i make wrong config

'emails' => [
// ...
'log' => [
    'from_mail' => 'info@...',
    'from_name' => "... CMS",

    'provider' => 'log'
],
// ...
'provider' => [
// ...
'log' => [
    'driver' => 'log',
],

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.