mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Save the email response (#6558)
* Save the email response * use the response variable from the email class * Rename email_debug to email_response * Update app_languages.php * Show the email response * Save the email response
This commit is contained in:
@@ -165,7 +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_response = $row["email_response"];
|
||||
$email_action_after = $row["email_action_after"];
|
||||
}
|
||||
unset($sql, $parameters, $row);
|
||||
@@ -313,18 +313,16 @@
|
||||
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 "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " ".$text['label-email_response']."\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_response'>".$email_response."</textarea>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-email_response']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "</table>";
|
||||
echo "<br /><br />";
|
||||
|
||||
Reference in New Issue
Block a user