diff --git a/composer.json b/composer.json index 4aa7cf4..61c1fa2 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "require": { "erusev/parsedown": "^1.7", "vlucas/phpdotenv": "^5.6", - "phpmailer/phpmailer": "^6.9" + "wildbit/postmark-php": "^6.0" }, "authors": [ { diff --git a/functions/account_functions.php b/functions/account_functions.php index 29400ea..6ac5e7e 100644 --- a/functions/account_functions.php +++ b/functions/account_functions.php @@ -2,6 +2,8 @@ require_once 'db_functions.php'; require_once 'article_functions.php'; +use Postmark\PostmarkClient; + function user_id_exists($user_id) { $conn = get_connection(); @@ -361,7 +363,7 @@ function request_role_change_form() while ($row = $result->fetch_assoc()) { $roles .= ' '; @@ -374,7 +376,7 @@ function request_role_change_form()