Skip to content
This repository has been archived by the owner on Dec 22, 2019. It is now read-only.

Recipients from previous messages included in new messages #8

Closed
ghost opened this issue Feb 17, 2014 · 4 comments
Closed

Recipients from previous messages included in new messages #8

ghost opened this issue Feb 17, 2014 · 4 comments
Labels

Comments

@ghost
Copy link

ghost commented Feb 17, 2014

Hi again :)

There seems to be a bug when multiple emails are sent - in the example code below, the first email is correctly sent to one@example.com, but the second email is incorrectly sent to both one@example.com and two@example.com. It should, of course, only be sent to two@example.com

Mailgun::send('emails.test', $data, function($message) {
            $message->to('one@example.com', 'Recipient One')->subject('Mailgun Test!');
});

Mailgun::send('emails.test', $data, function($message) {
            $message->to('two@example.com', 'Recipient Two')->subject('Mailgun Test!');
});
@Bogardo
Copy link
Owner

Bogardo commented Feb 17, 2014

Hi @builtbyjay, thanks for noticing. Sorry about that. I'll get on it immediately.

@ghost
Copy link
Author

ghost commented Feb 17, 2014

Hi Chris, no problem man! Thank you for taking the time to release this code and maintain it, it's really appreciated. I'll be sure to show you the project I'm using it in once it's done.

@Bogardo
Copy link
Owner

Bogardo commented Mar 24, 2014

@builtbyjay How is your project coming along?

@ghost
Copy link
Author

ghost commented Mar 25, 2014

I had to pull out of the project unfortunately @Bogardo :( It became a bit of a beast, and I couldn't justify the time commitment required against the minority stake I had in the business.

Such a shame, it was a horrible decision to have to make... but on to pastures new.

@Bogardo Bogardo added the bug label Jun 16, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant