summaryrefslogtreecommitdiff
path: root/program/steps/mail/sendmdn.inc
diff options
context:
space:
mode:
Diffstat (limited to 'program/steps/mail/sendmdn.inc')
-rw-r--r--program/steps/mail/sendmdn.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/program/steps/mail/sendmdn.inc b/program/steps/mail/sendmdn.inc
index c3294e7fe..f1fb79296 100644
--- a/program/steps/mail/sendmdn.inc
+++ b/program/steps/mail/sendmdn.inc
@@ -19,6 +19,9 @@
*/
+// only process ajax requests
+if (!$OUTPUT->ajax_call)
+ return;
if (!empty($_POST['_uid'])) {
$sent = rcmail_send_mdn(get_input_value('_uid', RCUBE_INPUT_POST), $smtp_error);