Skip to content
Snippets Groups Projects
Commit 959781ec authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

small fixes; fix file permissions

parent 3cfd1b66
Branches
No related tags found
No related merge requests found
......@@ -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
......
#!/usr/local/bin/php -q
<?php
/**
* =======================================================================
......
......@@ -84,6 +84,9 @@ pre{
margin: 1em;
padding: 0.5em;
}
#messages a{
display: block;;
}
#singlemessage{
background-color: #f8f8f8;
box-shadow: 0 0 3em #555;
......
......@@ -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>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment