예제 #1
0
def inform_subscribers(creator_id, exploration_id, exploration_title):
    """Sends an email to all the subscribers of the creators when the creator
    publishes an exploration.

    Args:
        creator_id: str. The id of the creator who has published an exploration
            and to whose subscribers we are sending emails.
        exploration_id: str. The id of the exploration which the creator has
            published.
        exploration_title: str. The title of the exploration which the creator
            has published.
    """

    email_manager.send_emails_to_subscribers(
        creator_id, exploration_id, exploration_title)
예제 #2
0
def inform_subscribers(creator_id, exploration_id, exploration_title):
    email_manager.send_emails_to_subscribers(
        creator_id, exploration_id, exploration_title)
def inform_subscribers(creator_id, exploration_id):
    exploration = exp_services.get_exploration_by_id(exploration_id)
    email_manager.send_emails_to_subscribers(creator_id, exploration.id,
                                             exploration.title)
예제 #4
0
def inform_subscribers(creator_id, exploration_id, exploration_title):
    email_manager.send_emails_to_subscribers(creator_id, exploration_id,
                                             exploration_title)