def METHOD_NAME(request):
    try:
        result = pluginManager.preSubmitPasswordChange(request)
        if result != 200:
            return result
        msM = MailServerManager(request)
        coreResult = msM.METHOD_NAME()
        result = pluginManager.postSubmitPasswordChange(request, coreResult)
        if result != 200:
            return result
        return coreResult
    except KeyError as msg:
        data_ret = {'passChangeStatus': 0, 'error_message': str(msg)}
        json_data = json.dumps(data_ret)
        return HttpResponse(json_data)