htmlspecialchars($user['firstName']), 'lastName' => htmlspecialchars($user['lastName']), 'email' => htmlspecialchars($user['email']), 'password' => htmlspecialchars($user['password']), 'membership' => htmlspecialchars($user['membership']['title']), 'membershipExpiresOn' => date('m/d/Y', strtotime($user['membershipExpiresOn'])), 'phone' => htmlspecialchars($user['phone']), 'loginUrl' => UserLoginView::getPage('url'), ]; $to = [$user['email']]; return Qs_Mail::sendTemplate('userMembershipRenewedToUser', $placeholders, $to); } }