Exemplo n.º 1
0
def mail_aliases_add():
	return add_mail_alias(
		request.form.get('source', ''),
		request.form.get('destination', ''),
		env,
		update_if_exists=(request.form.get('update_if_exists', '') == '1')
		)
Exemplo n.º 2
0
def mail_aliases_add():
    return add_mail_alias(request.form.get('address', ''),
                          request.form.get('forwards_to', ''),
                          request.form.get('permitted_senders', ''),
                          env,
                          update_if_exists=(request.form.get(
                              'update_if_exists', '') == '1'))
Exemplo n.º 3
0
def mail_aliases_add():
	return add_mail_alias(
		request.form.get('source', ''),
		request.form.get('destination', ''),
		env,
		update_if_exists=(request.form.get('update_if_exists', '') == '1')
		)
Exemplo n.º 4
0
def mail_aliases_add():
	return add_mail_alias(
		request.form.get('address', ''),
		request.form.get('forwards_to', ''),
		request.form.get('permitted_senders', ''),
		env,
		update_if_exists=(request.form.get('update_if_exists', '') == '1')
		)
Exemplo n.º 5
0
def mail_aliases_add():
    return add_mail_alias(
        request.form.get("address", ""),
        request.form.get("forwards_to", ""),
        request.form.get("permitted_senders", ""),
        env,
        update_if_exists=(request.form.get("update_if_exists", "") == "1"),
    )
Exemplo n.º 6
0
def mail_aliases_add():
	return add_mail_alias(request.form.get('source', ''), request.form.get('destination', ''), env)
Exemplo n.º 7
0
def mail_aliases_add():
    return add_mail_alias(request.form.get('source', ''),
                          request.form.get('destination', ''), env)