name="recipient" 
            value="<?php 
echo $_SESSION['unique_name'];
?>
"
        >
        </div>
        <button class="ms-Button">
                <span class="ms-Button-label">Send mail</span>
        </button>
        <div>
            <?php 
// The user clicked the "Send mail" button
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['recipient'])) {
    try {
        MailManager::sendWelcomeMail($_POST['recipient']);
        ?>
                        <p 
                            class="ms-font-m ms-fontColor-green">
                            Successfully sent an email to 
                            <?php 
        echo $_POST['recipient'];
        ?>
!
                        </p>
            <?php 
    } catch (\RuntimeException $e) {
        ?>
                        <p 
                            class="ms-font-m ms-fontColor-redDark">
                            Something went wrong, couldn't send an email.