diff --git a/docs/20_Installation.md b/docs/20_Installation.md index 879d95c2478dca9af5ed78614a6ddd6129eaa1a2..b4a6091be510bb1d6105711f1e757a75409cc297 100644 --- a/docs/20_Installation.md +++ b/docs/20_Installation.md @@ -17,7 +17,7 @@ In the php.ini in section `[PHP]` add a value for sendmail_path: ```ini [PHP] ... -sendmail_path = "[WEBROOT]/vendor/emailcatcher/php-sendmail.php" +sendmail_path = "php [WEBROOT]/vendor/emailcatcher/php-sendmail.php" ``` ### Test sending an email diff --git a/php-sendmail.php b/php-sendmail.php old mode 100755 new mode 100644 index 6215edfb045f7339845b564c8eb493e601eedada..b1da066827d386b023468392adc0487f502a40ce --- a/php-sendmail.php +++ b/php-sendmail.php @@ -1,4 +1,3 @@ -#!/usr/local/bin/php -q <?php /** * ======================================================================= diff --git a/viewer.css b/viewer.css index b8635977e03a8a675c512bc7f4ebbf4b7789c91a..44e91c67e17a816820100ea0b41ab13efb2e5b92 100644 --- a/viewer.css +++ b/viewer.css @@ -84,6 +84,9 @@ pre{ margin: 1em; padding: 0.5em; } +#messages a{ + display: block;; +} #singlemessage{ background-color: #f8f8f8; box-shadow: 0 0 3em #555; diff --git a/viewer.php b/viewer.php index 63b6da62e158a1daf7258f2b93d76c8c22e214fe..15ef6759d70f7bca6d437fd0cdcea7dc2b31736e 100644 --- a/viewer.php +++ b/viewer.php @@ -109,7 +109,7 @@ if(!count($aEmails)){ <div id="'.$sId.'" class="email'.($sId==$sOpen ? ' open':'').'"> '.( $sId!=$sOpen - ? '✉️ <a href="?open='.$sId.'">'.$aEmail['date'].' - to '.$aEmail['to'].': '.$aEmail['subject'].'</a>' + ? '<a href="?open='.$sId.'">✉️ '.$aEmail['date'].' - to '.$aEmail['to'].': '.$aEmail['subject'].'</a>' : '🔶 '. $aEmail['date'].' - to '.$aEmail['to'].': '.$aEmail['subject'] ) .'</div>';