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

Added email notification for committee subscribers #215

Merged
merged 1 commit into from
Feb 3, 2017

Conversation

HeahDude
Copy link
Contributor

@HeahDude HeahDude commented Feb 2, 2017

Closes EM-48.

@HeahDude HeahDude added this to the sprint-4 milestone Feb 2, 2017
@HeahDude HeahDude self-assigned this Feb 2, 2017
@HeahDude HeahDude requested review from hhamon, tgalopin and a user February 2, 2017 20:14

foreach ($followers as $follower) {
/** @var Adherent $follower */
$this->mailJet->sendMessage(CommitteeFeedNotificationMessage::create($follower, $message));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You must send only one message with multiple recipients. See how I've done it with the events.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 28ab47a.

use Doctrine\Common\Persistence\ObjectManager;

class CommitteeFeedHandler
{
private $manager;
private $committeeManager;
private $mailJet;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mailjet lowercase?

@HeahDude HeahDude merged commit 5fdd94e into master Feb 3, 2017
HeahDude added a commit that referenced this pull request Feb 3, 2017
…Dude)

This PR was merged into the master branch.

Discussion
----------

Added email notification for committee subscribers

Closes [EM-48](http://jira.sensiolabs.net/browse/EM-48).

Commits
-------

5fdd94e Added email notification for committee subscribers
@tgalopin tgalopin deleted the feat/send-event-message branch March 20, 2017 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants