|Anonymous | Login | Signup for a new account||2014-10-25 20:16 EDT|
|My View | View Issues | Change Log | Roadmap | Wiki | Repositories|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0012276||mantisbt||plug-ins||public||2010-08-22 17:06||2014-02-02 11:29|
|Target Version||Fixed in Version|
|Summary||0012276: New Plugin: Email announcements|
|Description||Email announcement (Eannounce) plugin for Mantis:|
Many times admins/have to send out emails for the users of Mantis about new features,new resitricions, downtime notifications etc. So far I was not able to locate a feature in Mantis which is capable to do this.
Copy the Eannounce plugin folder to your <mantis>/plugins folder, log in as a user who can manage the plugins and click install next to the Eannounce plugin name. The plugin is installed now.
Click to the plugin name in the plugin management page, it will redirects you to the config page. There is only one parameter can be configured: the minimum user level to send out emails to the users.
HOW TO USE:
After you have install the Eannounce plugin it will add a new menu item under the MANAGE menu called "Send email messages". Authorised users (see CONFIGURATION) are able to open this page and they can send messages to user groups in Mantis. More than one user group can be selected at the same time. All the users in the given user group(s) will recieve the mail.
Be careful to not flood the users with messages, use this feature when its really neccessary
|Attached Files|| Eannounce.zip [^] (19,440 bytes) 2010-08-22 17:06|
Eannounce0991.zip [^] (19,776 bytes) 2010-08-24 04:56
Eannounce-0.99a.zip [^] (20,276 bytes) 2011-11-08 06:03
|A new file is uploaded because the previous one missed the Eannounce folder in the zip. No functional changes in any ways, but from now on you dont have to create the eannounce folder manually, you can just copy the content of the zip file to your plugin folder as is.|
If i send mail to Manager of Project A only Administrator gets email.
I think that is not what it should. How can i debug this behavior?
Currently the plugin is not project based, so you can not send a message to the managers or ProjectA. If you select "manager" then it will send a mail to everybody with a GLOBAL manager account. Probably the manager you tried to send an email is a Reporter globally, thats why the mail was not sent to him.
Please note that to make the plugin project based will rise a whole bunch of issues, thats why I kept it simple.
At the same time I was able reproduce the problem with the mail to the Admin. I will try to fix this in the close future.
Yes, you are right. All my users are Reporter. Some users are Manager of a ProjectA and/or ProjectB.
So, im looking for an application or plugin to send email to all my Manager or all my Developer of ProjectXY.
Is it possible that you improve your plugin?
First thing, I spoke too early, and I couldnt reproduce the problem. (but I guess you probably figured out why it works like that in your system)
Developing the plugin to the suggested direction will rise the following problems:
- the code should crawl thru all the subprojects of the current project and select all the users with the given credentials
- filter out duplicate email (if somebody lets say a manager on projectA, developer on projectB, and reporter globally)
It would be nice to move forward on this way, however I can not promise anything since I dont have too much PHP experience. I dont say no neither, simply I dont know if will have time to do this.
I recommend to keep the plugin as a mass emailing tool. At the same time feel free to develop / modify it based on your needs.
|Thank you for your effort. My skills in PHP are very limited, so i can not help in further development.|
Fixed a bug:
eannounce_prep.php redirected to Eannounce_send.php.php instead of eannounce_prep.php
I would like to be able to save a copy of what was sent for either retransmission or modification retransmission as most of my mail shots have a similar format/content.
Playing COD:MW3 at the moment so this mod will have to wait until I finish the campaign mode ;)
Thanks for your update. Unfortunately in my current role I can not deal with mantis at all, so I have completely stopped the development. Feel free to make further changes if applicable.
I have used this tool massively in the past, to report changes in the system, downtimes etc. I am wondering if this could be the part of the main mantis distribution.
I suspect that getting it into the main distribution is unlikely as things are heading towards the newer plugin architecture.
The best you(we) could hope for is to get it included in the MantisBT Plugin archive at: https://github.com/mantisbt-plugins [^]
If you're ok with it, I might take it on and try to move it over there. Here is not really the place for a development.
Incidentally, I found another bug: it sends email to users who are disabled.
Dont misunderstand, I dont want this to be there for personal glory or so, I just miss this feature from Mantis.
I easily can image that the code has certain bugs (like sending emails to disabled users). This is because I have never ever used PHP, but I wanted to have this feature and also to contribute to the community.
Long story short: please handle this plugin by your best judgement:) If it worth it then please submit it to the plugin archive, if its not its still fine.
Its a different topic, but I missed the feature to attach multiple files in one go, so I have attached my code (a year ago) to issue 0005228
I have tested it in our live environment successfully. I am not sure if this feature is added or not to the latest release(s), but it may worth to look at it. As far as I know it works fine.
Thanks and keep up the good work.
|2010-08-22 17:06||istvanb||New Issue|
|2010-08-22 17:06||istvanb||File Added: Eannounce.zip|
|2010-08-24 04:56||istvanb||File Added: Eannounce0991.zip|
|2010-08-24 04:57||istvanb||Note Added: 0026441|
|2010-11-04 06:56||Phileas||Tag Attached: plugin|
|2010-11-05 04:17||Phileas||Note Added: 0027259|
|2010-11-05 05:16||istvanb||Note Added: 0027261|
|2010-11-05 05:35||Phileas||Note Added: 0027262|
|2010-11-05 05:48||istvanb||Note Added: 0027263|
|2010-11-05 10:25||Phileas||Note Added: 0027265|
|2011-11-08 06:03||davidnewcomb||File Added: Eannounce-0.99a.zip|
|2011-11-08 06:08||davidnewcomb||Note Added: 0030199|
|2011-11-08 06:52||istvanb||Note Added: 0030201|
|2011-11-14 12:08||davidnewcomb||Note Added: 0030232|
|2011-11-14 13:59||istvanb||Note Added: 0030233|
|2011-11-23 18:39||belfar||Note Added: 0030301|
|2012-02-11 13:24||vboctor||Note Deleted: 0030301|
|2014-02-02 11:29||atrol||Severity||minor => feature|
| MantisBT 1.2.17 [^]
Copyright © 2000 - 2014 MantisBT Team
Time: 0.0902 seconds.|
memory usage: 3,077 KB