first commit

This commit is contained in:
2022-11-20 21:46:36 +00:00
commit e3f445cd0d
54 changed files with 10801 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
use Symfony\Component\Mailer\MailerInterface;
use Symfony\Component\Mime\Email;
class MailerService
{
public static function sendMail(MailerInterface $mailer)
{
$email = new Email();
$email
->from('michael.schwab@outlook.com')
->to('michael.schwab@gmx.ch')
->subject('Site update just happened!')
->text('Someone just updated the site. We told them:');
$mailer->send($email);
}
}