Message forwarded - system notification. A terrible bug!

Discuss, research, share, find, and solve bugs

Message forwarded - system notification. A terrible bug!

Postby nkmarkgs » 4:22pm, Tue 30 Mar, 2010

Hi,

I wonder if it's possible to prevent the system to email the "Message forwarded " notifications that are sent by email. It floods the administrators with this kind of emails.

Is it possible to deactivate only that without deactivating all the system email notifications?

I find it really strange that this service functions in this way, and I wonder if I'm the only one that finds this extremely inconvenient. It seems that one cannot deactivate just this but keep other much more important system notifications such as subscriptions. That is, in order one to stop these "Message forwarded" notifications that really flood the system administrators with a massive(!!!) number of email notifications one has to deactivate the system notifications altogether.

For the seriousness of this issue, one has only to imagine that if he sends a message to, let's say, just 400 subscribers and each one forwards the message to just 2 friends, the administrators will receive 800 notification emails!!! ...

Sorry to say, that this is not a service but a terrible bug!!! ....

Some help and enlightenment on how to fix this would be greatly appreciated ...
nkmarkgs
phpLister
 
Posts: 9
Joined: 4:09pm, Tue 30 Mar, 2010

Re: Message forwarded - system notification. A terrible bug!

Postby nkmarkgs » 3:49pm, Thu 01 Apr, 2010

Sorry for sounding upset and maybe even rude on the previous post.

So, I have to say and make clear that overall phplist is a really great program! ... and I really mean it ...

And bravo to the developers!
nkmarkgs
phpLister
 
Posts: 9
Joined: 4:09pm, Tue 30 Mar, 2010

Re: Message forwarded - system notification. A terrible bug!

Postby eazeegeek » 5:11pm, Thu 01 Apr, 2010

Hi,

Maybe you are right about the sheer volume of these "system" messages which are not so useful, but in my opinion, it is a good idea to maintain a record somewhere in admin email of such activities.

What I do for such things is set an auto-filter in my email application to automatically mark them as read and archive them in to a certain folder. I know that this is not the solution to the issue, but a feasible workaround! :-)
When using the Forum
  • Give details of your issue with error messages
  • Tell everything you have tried
  • For resolved issues add "RESOLVED" to Subject of your Post
eazeegeek
PL Master
 
Posts: 343
Joined: 3:42pm, Tue 02 Mar, 2010
Location: Bangalore, India

Re: Message forwarded - system notification. A terrible bug!

Postby nkmarkgs » 4:17pm, Fri 02 Apr, 2010

liveazee wrote:Maybe you are right about the sheer volume of these "system" messages which are not so useful, but in my opinion, it is a good idea to maintain a record somewhere in admin email of such activities.
What I do for such things is set an auto-filter in my email application to automatically mark them as read and archive them in to a certain folder. I know that this is not the solution to the issue, but a feasible workaround! :-)


Hi,

I definitely agree that a record of this is very useful, the massive number of emails is the problem.
What you suggest I have done already. However, there are a few others receiving these notification emails which are not so technical minded, even to do just filtering. They just have to get all of them and then delete them ... really frustrating ...

I really don't understand what the developers were thinking when they programmed that into phplist .... they thought that a just a couple of subscribers among hundreds would be using this forwarding service ?!
nkmarkgs
phpLister
 
Posts: 9
Joined: 4:09pm, Tue 30 Mar, 2010

Re: Message forwarded - system notification. A terrible bug!

Postby nkmarkgs » 6:31pm, Wed 07 Apr, 2010

I wonder if the developers of PhpList watch this forum and get ideas about what works and what doesn't. I would be nice if they did.

One way to resolve this issue with the massive number of "Message Forwarded" notifications is to exclude it from the message. This though creates another problem. When subscribers forward the message as they get it then their "Unique ID" is also transfered through the links on the message. By mistake or intentionally the recipients of the forwarded message can change the account information or unsubscribe the subscriber that forwarded the message.

So this is also a security issue and it's definitely a headache for the administrators of a PhpList setup.

I hope the PhpList developers take notice of this issue with the "Message forwarded" system notifications and correct it soon.

Nevertheless, thank you for this nice program.
nkmarkgs
phpLister
 
Posts: 9
Joined: 4:09pm, Tue 30 Mar, 2010

Re: Message forwarded - system notification. A terrible bug!

Postby zak6078 » 9:40am, Tue 13 Apr, 2010

Could someone please tell me how to substitute the place holder [FORWARD] with a button in my template
zak6078
phpList newbie
 
Posts: 1
Joined: 9:51am, Fri 24 Jul, 2009

Re: Message forwarded - system notification. A terrible bug!

Postby nkmarkgs » 12:13pm, Tue 13 Apr, 2010

@zak6078

Though your post is somewhat unrelated to this topic because I wanted to do the same thing and I spent some time and found a way to do it, I'll respond ...

In order to accomplish this you have to hack the code and specifically the file sendemaillib.php in the admin folder.

First save the original sendemaillib.php making a backup copy so if anything goes wrong you can go back to it.

After the line (possibly line-number 144):
Code: Select all
  $url = getConfig("forwardurl");$sep = ereg('\?',$url)?'&':'?';

Add these two lines:
Code: Select all
  $html["messageid"] = sprintf('%d',$messageid);
  $text["messageid"] = sprintf('%d',$messageid);

You do this because you need a Placeholder for the message id which although it is in the code of phplist the developers haven't made a placeholder for it. So, that's the way to create the placeholder for the message id.
http://docs.phplist.com/Placeholders

Then for having a button (image) in your message or template you can use a code such as the following:
Code: Select all
<div style="margin: 0px; text-align: right;">
<a href="http://www.domain.com/newsletter/?p=forward&amp;uid=[USERID]&amp;mid=[MESSAGEID]"><img src="http://www.domain.com/ht/images/forward-mail.jpg" border="0"></a>
</div>


Let me know if it worked ...
Last edited by nkmarkgs on 7:47am, Mon 04 Oct, 2010, edited 2 times in total.
nkmarkgs
phpLister
 
Posts: 9
Joined: 4:09pm, Tue 30 Mar, 2010

Re: Message forwarded - system notification. A terrible bug!

Postby nkmarkgs » 1:09am, Sat 17 Apr, 2010

Please allow me to say that unfortunately this forum is useless if the developers don't participate in it ...

What is the purpose of writing and reporting about anything important in here and wasting our time if the developers care less to say anything or do anything ? ... I really wonder about this ...

Is it so difficult for a developer here to say, "Yes, we'll check into it and take care of it in the future ..."? ... even if they'll never do! ...

Thank you for this free program but the issue I mention here is really quite serious:
1st) because of the huge number of notification emails that render this forwarding option really useless and forces the administrators to omit it from the messages.
2nd) but if the forwarding option is omitted from the message then users forward their messages as they receive them with their unique ids in them which then it allows others to enter into their account and alter them or even unsubscribe them, something that has happened to me a few times already ...

And altering an account or unsubscribing doesn't require any email verification so anyone that has the unique id of an account can pretty much do anything to the account ...

Soooo!!! ... after all these messages detailing the problems that are created with this I mostly feel that I have completely wasted my time reporting this issue here ...

It's such a pity the developers care less to pay any attention to this or at least respond. Definitely, I think fixing this is really quite simple comparing with the multitude of other advanced options that phplist has ... but as it is looks, who cares ...

So, thank you again for this free and open-source program but if that actually means crippled and abandoned then ... what's the use?!
nkmarkgs
phpLister
 
Posts: 9
Joined: 4:09pm, Tue 30 Mar, 2010

Re: Message forwarded - system notification. A terrible bug!

Postby nkmarkgs » 8:11am, Sun 03 Oct, 2010

Any developer to help?

After 6 months and no developer has said anything about this awful bug!
This is really a disgrace ...
nkmarkgs
phpLister
 
Posts: 9
Joined: 4:09pm, Tue 30 Mar, 2010

Re: Message forwarded - system notification. A terrible bug!

Postby H2B2 » 7:20am, Thu 07 Oct, 2010

nkmarkgs wrote:Please allow me to say that unfortunately this forum is useless if the developers don't participate in it ...

You should keep in mind this is a community forum, i.e. a place where phpList users can provide support to other phpList users, share tips & tricks, contribute plugins, mods, and other useful extensions of the phpList functionality. Many have found the forum quite useful.
However, I agree it would be a great help if developers would have some spare time available to answer forum questions and provide forum support. Unfortunately time is a scarce resource, and I suppose this certainly applies to the small phpList development team which currently consists of one, perhaps two developers.

With regard to bug reporting: If you think you found a bug, and if the forum does not provide any answers, the Mantis issue tracker would be the place to report to the development team. This is also mentioned in the "Help" link of the admin interface in your phpList install:
Mantis
Mantis is the place to report issues you find with phplist. Your issue can be be anything related to phplist, comments and suggestions how to improve it or reports of a bug. If you report a bug, make sure to include as much information as possible to facilitate the developers in solving the problem.

The minimum requirements for reporting a bug are your system details:
ref: lists/admin/?page=community


Getting back on-topic:
I assume you are aware all admin notifications can be disabled through the "Does the admin get copies of subscribe, update and unsubscribe messages (0/1)" setting in the configuration page (lists/admin/?page=configure&id=send_admin_copies).
I think this will also cover the forward notifications, though I never checked since I do not use the forward feature on my install. So, correct me if I'm wrong.
EDIT: Re-reading your previous posts, I understand you were aware of this setting.

In can see that the ability to selectively switch-off the forward notifications would be useful in situations like the one you described as "flooding". Admin notifications in general, including those related to message forwarding, depend on the sendAdminCopy() function which is defined in admin/lib.php . If you search the code you'll find that this function is used in 2 files, i.e., lists/index.php and subscribelib2.php.
It seems to me lists/index.php (in v2.10.12 around line 852 and down) might be the place to modify the code. Perhaps you, or someone else reading this, can take it from there.

If you file a report in the issue tracker, please include a link referring to this thread.

>> Thread moved to the bug discussion forum, which is probably a more appropriate forum section for this topic.
H2B2
Moderator
 
Posts: 7188
Joined: 1:51am, Wed 15 Mar, 2006

Re: Message forwarded - system notification. A terrible bug!

Postby H2B2 » 10:59pm, Mon 07 Feb, 2011

H2B2
Moderator
 
Posts: 7188
Joined: 1:51am, Wed 15 Mar, 2006

Re: Message forwarded - system notification. A terrible bug!

Postby basiljoseph » 5:19am, Fri 26 Aug, 2011

Maybe you are right about the sheer volume of these "system" messages which are not so useful, but in my opinion, it is a good idea to maintain a record somewhere in admin email of such activities.

What I do for such things is set an auto-filter in my email application to automatically mark them as read and archive them in to a certain folder. I know that this is not the solution to the issue, but a feasible workaround
basiljoseph
phpList newbie
 
Posts: 2
Joined: 6:06am, Thu 25 Aug, 2011


Return to Bug Discussion

Who is online

Users browsing this forum: No registered users and 2 guests