Main menu

Forum


× Help Forum English

[SOLVED] Disable notification email after new item via frontend

  • JoomlaHunter
  • Topic Author
  • New Member
  • New Member
More
11 years 1 month ago - 11 years 1 month ago #5727 by JoomlaHunter
Hello,

How can I disable sending notification e-mails to administrators after applying a new calendar item from the frontend?
Now my host think that we are spamming after a lot of new calendar items ;)

Thanks in advance.

Regards,

JoomlaHunter
Last edit: 11 years 1 month ago by Lyr!C. Reason: [SOLVED]

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 1 month ago #5757 by Lyr!C
Hi!

To disable email sending when submission, the code below could be edited (but it's planned to add an option for this by the end of the year ;-) ):

in SITE/components/com_icagenda/models/submit.php (line 561)
// Send User Notification Email

    if (isset($email)) {

    if($manager->block == '0' && empty($manager->activation)){

    $send = $adminmailer->Send();

    }

    }

Remove line :
$send = $adminmailer->Send();

or add comment (//) :
//$send = $adminmailer->Send();

;-)

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

Please Log in or Create an account to join the conversation.

Moderators: Lyr!C
Time to create page: 0.065 seconds

 

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new