from flask.ext.mail import Message
from flask import render_template
from app import mailer
from config import ADMINS


def send_email(subject, sender, recipients, text_body, html_body):
    msg = Message(subject, sender=sender, recipients=recipients)
    msg.body = text_body
    msg.html = html_body
    mailer.send(msg)


def signup_alert(mcuser,
                 mcemail,
                 applicant_age,
                 applicant_skills,
                 applicant_ip,
                 fishbanned,
                 tb):
    msg = Message(
        "Signup Alert", sender=(
            app.config.get('MAIL_USER'), app.config.get('MAIL_USER')),
        recipients=ADMINS)
    msg.body = render_template("signupalert_email.txt",
                               mcuser=mcuser,
                               mcemail=mcemail,
                               applicant_age=applicant_age,
                               applicant_skills=applicant_skills,
                               applicant_ip=applicant_ip,
                               fishbanned=fishbanned,
                               tb=tb)
    mailer.send(msg)

0f430086751215bca3ca290cc04c53017b31cc7f
<mask token>

<mask token>


def signup_alert(mcuser, mcemail, applicant_age, applicant_skills,
    applicant_ip, fishbanned, tb):
    msg = Message('Signup Alert', sender=(app.config.get('MAIL_USER'), app.
        config.get('MAIL_USER')), recipients=ADMINS)
    msg.body = render_template('signupalert_email.txt', mcuser=mcuser,
        mcemail=mcemail, applicant_age=applicant_age, applicant_skills=
        applicant_skills, applicant_ip=applicant_ip, fishbanned=fishbanned,
        tb=tb)
    mailer.send(msg)

<mask token>


def send_email(subject, sender, recipients, text_body, html_body):
    msg = Message(subject, sender=sender, recipients=recipients)
    msg.body = text_body
    msg.html = html_body
    mailer.send(msg)


def signup_alert(mcuser, mcemail, applicant_age, applicant_skills,
    applicant_ip, fishbanned, tb):
    msg = Message('Signup Alert', sender=(app.config.get('MAIL_USER'), app.
        config.get('MAIL_USER')), recipients=ADMINS)
    msg.body = render_template('signupalert_email.txt', mcuser=mcuser,
        mcemail=mcemail, applicant_age=applicant_age, applicant_skills=
        applicant_skills, applicant_ip=applicant_ip, fishbanned=fishbanned,
        tb=tb)
    mailer.send(msg)

from flask.ext.mail import Message
from flask import render_template
from app import mailer
from config import ADMINS


def send_email(subject, sender, recipients, text_body, html_body):
    msg = Message(subject, sender=sender, recipients=recipients)
    msg.body = text_body
    msg.html = html_body
    mailer.send(msg)


def signup_alert(mcuser, mcemail, applicant_age, applicant_skills,
    applicant_ip, fishbanned, tb):
    msg = Message('Signup Alert', sender=(app.config.get('MAIL_USER'), app.
        config.get('MAIL_USER')), recipients=ADMINS)
    msg.body = render_template('signupalert_email.txt', mcuser=mcuser,
        mcemail=mcemail, applicant_age=applicant_age, applicant_skills=
        applicant_skills, applicant_ip=applicant_ip, fishbanned=fishbanned,
        tb=tb)
    mailer.send(msg)

from flask.ext.mail import Message
from flask import render_template
from app import mailer
from config import ADMINS


def send_email(subject, sender, recipients, text_body, html_body):
    msg = Message(subject, sender=sender, recipients=recipients)
    msg.body = text_body
    msg.html = html_body
    mailer.send(msg)


def signup_alert(mcuser,
                 mcemail,
                 applicant_age,
                 applicant_skills,
                 applicant_ip,
                 fishbanned,
                 tb):
    msg = Message(
        "Signup Alert", sender=(
            app.config.get('MAIL_USER'), app.config.get('MAIL_USER')),
        recipients=ADMINS)
    msg.body = render_template("signupalert_email.txt",
                               mcuser=mcuser,
                               mcemail=mcemail,
                               applicant_age=applicant_age,
                               applicant_skills=applicant_skills,
                               applicant_ip=applicant_ip,
                               fishbanned=fishbanned,
                               tb=tb)
    mailer.send(msg)
