# fluent-booking/1.5.21/app/Services/Mailer.php

Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution, version 1.5.21. 14 lines.

- Page: https://pluginprobe.com/plugins/fluent-booking/1.5.21/code/app/Services/Mailer.php
- Raw: https://pluginprobe.com/plugins/fluent-booking/1.5.21/raw/app/Services/Mailer.php
- Modified: 2024-07-16T14:25:14+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-booking/1.5.21/code/app/Services/Mailer.php#L10-L20`.

```php
<?php

namespace FluentBooking\App\Services;

class Mailer
{
    public static function send($to, $subject, $body, $headers = [], $attachments = [])
    {
        $headers[] = 'Content-Type: text/html; charset=UTF-8';

        return wp_mail($to, $subject, $body, $headers, $attachments);
    }
}

```
