Jump to content
  • 0

How to add Email BCC Notices permissions for plugin


Question

Posted

Hello

i have a plugin that add EmailGroups in email templates . and is working fine . now we need to add permission to allow admin set wich staff group should recieve this email notice . i don't find any docs related to this task in the developper section manual .

 

 

3 answers to this question

Recommended Posts

  • 0
Posted

i have checked some blesta code source files and i have arrived to make the email template set "to" in "notice_type" . now the in the staff group edit i can see the email template in "Email Subscription Notices" , but in staff My Information settings notices , the email is not shown , even is is ticked in the group permission who the staff is belong to .

i have missed another step  to add ?

EDIT : i have found the problem .

in admin myinfo notices , blesta is only return the core template no emails for plugins in ($this->EmailGroups->getAllByNoticeType() ) .

normally how we will give the staff the ability to select wish notices they want to subscribe for it if blesta is only returning no plugins emails ?

also i don't why exist this limitation ?

why not to add another options for Plugins Email Subscription Notices & Plugins Email BCC Notices ?

  • 0
Posted

It is expected staff would subscribe to plugin emails from functionality within the plugin itself. The Support Manager, for instance, lets staff subscribe to receive ticket emails for tickets of a specific status and is sent to a specific email (e.g. mobile email). It wouldn't make sense for a staff member to receive BCC notices about ticket emails sent to another staff member that subscribed to them (or possibly sent to the same staff member twice). Plugin emails are custom and conditional as far as the core is concerned.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...