def METHOD_NAME(self, request, *args, **kwargs):
    issue = self.get_object()
    project = issue.project
    form = IssueSendForm(request.POST, project=project)
    mail_form = IssueMailForm(request.POST)
    if form.is_valid():
        subject = form.cleaned_data.get('subject')
        message = form.cleaned_data.get('message')
        snapshot = project.snapshots.filter(pk=form.cleaned_data.get('snapshot')).first()
        attachments_format = form.cleaned_data.get('attachments_format')
        attachments = []
        if form.cleaned_data.get('attachments_answers'):
            title = '{}.{}'.format(project.title, attachments_format)
            response = self.render_project_answers(project, snapshot, attachments_format)
            attachments.append((title, response.content, response['content-type']))
        for view in form.cleaned_data.get('attachments_views'):
            title = '{}.{}'.format(project.title, attachments_format)
            response = self.render_project_views(project, snapshot, view, attachments_format)
            attachments.append((title, response.content, response['content-type']))
        for value in form.cleaned_data.get('attachments_files'):
            attachments.append((value.file_name, value.file.read(), value.file_type))
        integration_id = request.POST.get('integration')
        if integration_id:
            # send via integration
            try:
                integration = project.integrations.get(pk=integration_id)
                return integration.provider.send_issue(request, issue, integration, subject, message, attachments)
            except (ObjectDoesNotExist, AttributeError):
                pass
        else:
            if mail_form.is_valid():
                to_emails = mail_form.cleaned_data.get('recipients', []) + mail_form.cleaned_data.get('recipients_input', [])
                cc_emails = [request.user.email]
                reply_to = [request.user.email]
                # send the email
                send_mail(subject, message, to=to_emails, cc=cc_emails, reply_to=reply_to, attachments=attachments)
                # update issue status
                issue.status = Issue.ISSUE_STATUS_IN_PROGRESS
                issue.save()
                return HttpResponseRedirect(self.get_success_url())
    return self.render_to_response(self.get_context_data(form=form, mail_form=mail_form))