Add text area for email error

This commit is contained in:
FusionPBX 2023-02-13 13:21:29 -07:00 committed by GitHub
parent 7bca5305ec
commit e1713bfc0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 1 deletions

View File

@ -165,6 +165,7 @@
$email_status = $row["email_status"];
$email_retry_count = $row["email_retry_count"];
//$email_action_before = $row["email_action_before"];
$email_debug = $row["email_debug"];
$email_action_after = $row["email_action_after"];
}
unset($sql, $parameters, $row);
@ -312,6 +313,19 @@
echo "</td>\n";
echo "</tr>\n";
if (isset($_REQUEST['debug'])) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-email_debug']."\n";
echo "</td>\n";
echo "<td class='vtable' style='position: relative;' align='left'>\n";
echo " <textarea class='formfld' style='width: 450px; height: 100px;' name='email_debug'>".$email_debug."</textarea>\n";
echo "<br />\n";
echo $text['description-email_debug']."\n";
echo "</td>\n";
echo "</tr>\n";
}
echo "</table>";
echo "<br /><br />";
@ -322,4 +336,4 @@
//include the footer
require_once "resources/footer.php";
?>
?>