def METHOD_NAME(
    order_id,
    subject="Thank you for your order!",
    template='order_confirmation_mail.html.jinja2',
):
    """Send buyer a link to fill attendee details and get cash receipt."""
    with app.test_request_context():
        order = Order.query.get(order_id)
        msg = Message(
            subject=subject,
            recipients=[order.buyer_email],
            bcc=[order.organization.contact_email],
        )
        line_items = (
            LineItem.query.filter(
                LineItem.order == order, LineItem.status == LINE_ITEM_STATUS.CONFIRMED
            )
            .order_by(LineItem.line_item_seq.asc())
            .all()
        )
        html = email_transform(
            render_template(
                template,
                order=order,
                org=order.organization,
                line_items=line_items,
                base_url=app.config['BASE_URL'],
                currency_symbol=CURRENCY_SYMBOL['INR'],
            )
        )
        msg.html = html
        msg.body = html2text(html)
        mail.send(msg)