implemented email functionality, users can now request to become contributors.

This commit is contained in:
2025-04-03 13:25:01 -06:00
parent e5af3aca66
commit 7eebc920a2
5 changed files with 62 additions and 7 deletions
+17
View File
@@ -0,0 +1,17 @@
<?php
require_once 'vendor/autoload.php';
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
$dotenv->safeLoad();
use Postmark\PostmarkClient;
$client = new PostmarkClient($_ENV['POSTMARK_API_TOKEN']);
$send_result = $client->sendEmail(
"mailer@joshashton.dev",
"me@joshashton.dev",
"Postmark PHP Test",
"This is a test. Do not be alarmed."
);