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') )
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'))
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') )
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"), )
def mail_aliases_add(): return add_mail_alias(request.form.get('source', ''), request.form.get('destination', ''), env)