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 .= "";