Is it possible to summarize email report to admin?

Once you've installed phpList Version 2... ask questions here!
Forum rules
Please help the volunteers to help you by supplying the version of phpList you are using, browser & version and if possible, a link to your phpList installation. This is for Version 2 of phpList (the orange one).

Is it possible to summarize email report to admin?

Postby ramziddin » 9:59am, Sat 17 Mar, 2007

Hi all

After processing the queue I am as admin of the phplist getting the report email. This report contains a lot of unnecessary information.
Is It possible to shorten this report by removing the email report; For example it contains:

[Sat 17 Mar 2007 09:22] [80.80.214.82] Started
[Sat 17 Mar 2007 09:22] [80.80.214.82] Processing has started, 1 message(s)
to process.
[Sat 17 Mar 2007 09:22] [80.80.214.82] It is safe to click your "stop"
button now, report will be sent by email to
ulmas.pulatov@mydomain.com,ramziddin.artykov@mydomain.com
[Sat 17 Mar 2007 09:22] [80.80.214.82] Processing message 116
[Sat 17 Mar 2007 09:22] [80.80.214.82] Looking for users
[Sat 17 Mar 2007 09:22] [80.80.214.82] looking for users who can be
excluded from this processqueue run
[Sat 17 Mar 2007 09:22] [80.80.214.82] select distinct user.id from
(phplist_listuser as listuser,
phplist_user_user as user,
phplist_listmessage as listmessage)
left join phplist_usermessage as usermessage
on (usermessage.messageid = 116 and usermessage.userid = listuser.userid)
where
listmessage.messageid = 116 and
listmessage.listid = listuser.listid and
user.id = listuser.userid and
usermessage.userid IS NULL
and user.confirmed and !user.blacklisted
[Sat 17 Mar 2007 09:22] [80.80.214.82] Found them: 6 to process

[Sat 17 Mar 2007 09:22] [80.80.214.82] Sending 116 to A
[Sat 17 Mar 2007 09:22] [80.80.214.82] Sending Message 116 with subject New
Newsletter to A
[Sat 17 Mar 2007 09:22] [80.80.214.82] It took 0.418429 seconds to send
[Sat 17 Mar 2007 09:22] [80.80.214.82] Sending 116 to B
[Sat 17 Mar 2007 09:22] [80.80.214.82] Sending Message 116 with subject New
Newsletter to B
[Sat 17 Mar 2007 09:22] [80.80.214.82] It took 0.355919 seconds to send
[Sat 17 Mar 2007 09:22] [80.80.214.82] Sending 116 to
C
[Sat 17 Mar 2007 09:22] [80.80.214.82] Sending Message 116 with subject New
Newsletter to C
...
...
...
[Sat 17 Mar 2007 09:22] [80.80.214.82] It took 0.365929 seconds to send
[Sat 17 Mar 2007 09:22] [80.80.214.82] Processed 6 out of 6 users
[Sat 17 Mar 2007 09:22] [80.80.214.82] It took 3 secs to send this message
[Sat 17 Mar 2007 09:22] [80.80.214.82] Script stage: 5
[Sat 17 Mar 2007 09:22] [80.80.214.82] 6 messages sent in 5.68 seconds
(3802 msgs/hr)


I only need the summary part the part of the above message that is marked bold

Regards

Ramziddin
Last edited by ramziddin on 10:50am, Wed 15 Oct, 2008, edited 1 time in total.
ramziddin
PL Nut
 
Posts: 31
Joined: 11:46am, Thu 01 Mar, 2007

Postby SaWey » 4:25pm, Sat 24 Mar, 2007

Hi

The message you get is the same one as the one you see in ther 'process queue' page.

These messages are defined in 'admin/processqueue.php', you might want to take a look at that one.

At line 221 you have the function call to send the report [sendReport($subject,$message);].
SaWey
PL Master
 
Posts: 192
Joined: 8:28pm, Wed 08 Mar, 2006
Location: Belgium

Postby ramziddin » 2:33pm, Mon 26 Mar, 2007

But I am not familiar with PHP.
So how can I summarize this report
ramziddin
PL Nut
 
Posts: 31
Joined: 11:46am, Thu 01 Mar, 2007

Postby SaWey » 6:20pm, Mon 26 Mar, 2007

There is no option to do this without coding.

You will need to find someone with the skills and time to do this for you.
SaWey
PL Master
 
Posts: 192
Joined: 8:28pm, Wed 08 Mar, 2006
Location: Belgium


Return to Question & Problems - after installing

Who is online

Users browsing this forum: Google [Bot] and 6 guests

cron