From c65b6975c43e74acb88e7867923ca11216384a8a Mon Sep 17 00:00:00 2001 From: Lucian Pricop Date: Thu, 12 May 2022 12:07:34 +0300 Subject: [PATCH] Better wording in reply mail --- lib/MailClass.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/MailClass.php b/lib/MailClass.php index bce3406..f1fc3f0 100644 --- a/lib/MailClass.php +++ b/lib/MailClass.php @@ -60,15 +60,17 @@ class MailClass { ); if($response) { - $body = "

You created a new card on board {$response->boardTitle}.

Check out this board}/card/{$response->id}" . "\">link to see your newly created card.

"; - $subject = 'An new card has been created!'; + $body = "

A new card has been created on board board}" . "\">{$response->boardTitle}.

+

Check out this board}/card/{$response->id}" . "\">link to see the newly created card.

+

Card ID is {$response->id}

"; + $subject = 'A new card has been created!'; } else { - $body = "

There was a problem creating your new card.

Make sure you set up the board correctly.

"; - $subject = "Your issue has not been reported!"; + $body = "

There was a problem creating a new card.

Make sure the board was setup correctly.

"; + $subject = "A new card could not be created!"; } $message = ""; - $message .= "Mail2Deck response"; + $message .= "mail2deck response"; $message .= "$body"; $message .= "";