Email Log - Version 1.5.2

Version Description

= 0.9.2 = Added filters for more customizing

= 1.0 = Added support for buying pro addons

= 1.5 = Rewrote Admin interface using native tables

Download this release

Release Info

Developer sudar
Plugin Icon 128x128 Email Log
Version 1.5.2
Comparing to
See all releases

Code changes from version 1.5.1 to 1.5.2

email-log.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://sudarmuthu.com/wordpress/email-log
5
  Description: Logs every email sent through WordPress. Compatible with WPMU too.
6
  Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
7
  Author: Sudar
8
- Version: 1.5.1
9
  Author URI: http://sudarmuthu.com/
10
  Text Domain: email-log
11
  Domain Path: languages/
@@ -48,6 +48,9 @@ Domain Path: languages/
48
  - Correct the upgrade file include path. Issue #7
49
  - Fix undfined notice error. Issue #8
50
  - Update screenshots. Issue #6
 
 
 
51
  */
52
  /* Copyright 2009 Sudar Muthu (email : sudar@sudarmuthu.com)
53
 
@@ -70,17 +73,21 @@ Domain Path: languages/
70
  */
71
  class EmailLog {
72
 
73
- private $admin_page;
74
  private $admin_screen;
75
 
76
- const FILTER_NAME = 'wp_mail_log';
77
- const PAGE_SLUG = 'email-log';
78
- const DELETE_LOG_NONCE_FIELD = 'sm-delete-email-log-nonce';
79
- const DELETE_LOG_ACTION = 'sm-delete-email-log';
80
 
81
- const TABLE_NAME = 'email_log'; /* Database table name */
82
- const DB_OPTION_NAME = 'email-log-db'; /* Database option name */
83
- const DB_VERSION = '0.1'; /* Database version */
 
 
 
 
 
84
 
85
  /**
86
  * Initalize the plugin by registering the hooks
@@ -115,7 +122,7 @@ class EmailLog {
115
 
116
  if ($file == $plugin) // only for this plugin
117
  return array_merge( $links,
118
- array( '<a href="http://sudarmuthu.com/out/buy-email-log-forward-email-addon" target="_blank">' . __('Buy Addons', 'email-log') . '</a>' )
119
  );
120
  return $links;
121
  }
@@ -282,18 +289,20 @@ class EmailLog {
282
 
283
  $attachment_present = (count ($mail_info['attachments']) > 0) ? "true" : "false";
284
 
 
 
 
285
  // Log into the database
286
  $wpdb->insert($this->table_name, array(
287
  'to_email' => is_array($mail_info['to']) ? $mail_info['to'][0] : $mail_info['to'],
288
  'subject' => $mail_info['subject'],
289
  'message' => $mail_info['message'],
290
- 'headers' => is_array($mail_info['headers']) ? implode("\r\n", $mail_info['headers']) : $mail_info['headers'],
291
  'attachments' => $attachment_present,
292
  'sent_date' => current_time('mysql')
293
  ));
294
 
295
- // return filtered array
296
- return apply_filters(self::FILTER_NAME, $mail_info);
297
  }
298
 
299
  /**
5
  Description: Logs every email sent through WordPress. Compatible with WPMU too.
6
  Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
7
  Author: Sudar
8
+ Version: 1.5.2
9
  Author URI: http://sudarmuthu.com/
10
  Text Domain: email-log
11
  Domain Path: languages/
48
  - Correct the upgrade file include path. Issue #7
49
  - Fix undfined notice error. Issue #8
50
  - Update screenshots. Issue #6
51
+ 2013-09-13 - v1.5.2 - (Dev time: 0.5 hours)
52
+ - Add the ability to override the fields displayed in the log page
53
+ - Add support for "More Fields" addon
54
  */
55
  /* Copyright 2009 Sudar Muthu (email : sudar@sudarmuthu.com)
56
 
73
  */
74
  class EmailLog {
75
 
 
76
  private $admin_screen;
77
 
78
+ const FILTER_NAME = 'wp_mail_log';
79
+ const PAGE_SLUG = 'email-log';
80
+ const DELETE_LOG_NONCE_FIELD = 'sm-delete-email-log-nonce';
81
+ const DELETE_LOG_ACTION = 'sm-delete-email-log';
82
 
83
+ // DB stuff
84
+ const TABLE_NAME = 'email_log'; /* Database table name */
85
+ const DB_OPTION_NAME = 'email-log-db'; /* Database option name */
86
+ const DB_VERSION = '0.1'; /* Database version */
87
+
88
+ //hooks
89
+ const HOOK_LOG_COLUMNS = 'email_log_manage_log_columns';
90
+ const HOOK_LOG_DISPLAY_COLUMNS = 'email_log_display_log_columns';
91
 
92
  /**
93
  * Initalize the plugin by registering the hooks
122
 
123
  if ($file == $plugin) // only for this plugin
124
  return array_merge( $links,
125
+ array( '<a href="http://sudarmuthu.com/wordpress/email-log/pro-addons" target="_blank">' . __('Buy Addons', 'email-log') . '</a>' )
126
  );
127
  return $links;
128
  }
289
 
290
  $attachment_present = (count ($mail_info['attachments']) > 0) ? "true" : "false";
291
 
292
+ // return filtered array
293
+ $mail_info = apply_filters(self::FILTER_NAME, $mail_info);
294
+
295
  // Log into the database
296
  $wpdb->insert($this->table_name, array(
297
  'to_email' => is_array($mail_info['to']) ? $mail_info['to'][0] : $mail_info['to'],
298
  'subject' => $mail_info['subject'],
299
  'message' => $mail_info['message'],
300
+ 'headers' => is_array($mail_info['headers']) ? implode("\n", $mail_info['headers']) : $mail_info['headers'],
301
  'attachments' => $attachment_present,
302
  'sent_date' => current_time('mysql')
303
  ));
304
 
305
+ return $mail_info;
 
306
  }
307
 
308
  /**
include/class-email-log-list-table.php CHANGED
@@ -23,6 +23,51 @@ class Email_Log_List_Table extends WP_List_Table {
23
  'ajax' => false //does this table support ajax?
24
  ) );
25
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
  /** ************************************************************************
28
  * REQUIRED! This method dictates the table's columns and titles. This should
@@ -44,7 +89,8 @@ class Email_Log_List_Table extends WP_List_Table {
44
  'to' => __('To', 'email-log'),
45
  'subject' => __('Subject', 'email-log')
46
  );
47
- return $columns;
 
48
  }
49
 
50
  /** ************************************************************************
@@ -91,13 +137,9 @@ class Email_Log_List_Table extends WP_List_Table {
91
  * @param array $column_name The name/slug of the column to be processed
92
  * @return string Text or HTML to be placed inside the column <td>
93
  **************************************************************************/
94
- function column_default($item, $column_name){
95
- switch($column_name){
96
- default:
97
- return print_r($item,true); //Show the whole array for troubleshooting purposes
98
- }
99
  }
100
-
101
 
102
  /** ************************************************************************
103
  * Recommended. This is a custom column method and is responsible for what
@@ -119,13 +161,14 @@ class Email_Log_List_Table extends WP_List_Table {
119
 
120
  //Build row actions
121
  $actions = array(
122
- 'delete' => sprintf( '<a href="?page=%s&action=%s&%s=%s&%s=%s">Delete</a>',
123
  $_REQUEST['page'],
124
  'delete',
125
  $this->_args['singular'],
126
  $item->id,
127
  EmailLog::DELETE_LOG_NONCE_FIELD,
128
- wp_create_nonce( EmailLog::DELETE_LOG_ACTION )
 
129
  ),
130
  );
131
 
@@ -262,15 +305,15 @@ class Email_Log_List_Table extends WP_List_Table {
262
  $query = "SELECT * FROM " . $EmailLog->table_name;
263
 
264
  if ( isset( $_GET['s'] ) ) {
265
- $search_term = $wpdb->escape( $_GET['s'] );
266
 
267
  $query .= " WHERE to_email LIKE '%$search_term%' OR subject LIKE '%$search_term%' ";
268
  }
269
 
270
  /* -- Ordering parameters -- */
271
  //Parameters that are going to be used to order the result
272
- $orderby = !empty( $_GET["orderby"] ) ? $wpdb->escape( $_GET["orderby"] ) : 'sent_date';
273
- $order = !empty( $_GET["order"] ) ? $wpdb->escape( $_GET["order"] ) : 'DESC';
274
 
275
  if(!empty($orderby) & !empty($order)) {
276
  $query .= ' ORDER BY ' . $orderby . ' ' . $order;
@@ -280,7 +323,7 @@ class Email_Log_List_Table extends WP_List_Table {
280
  $total_items = $wpdb->query( $query ); //return the total number of affected rows
281
 
282
  //Which page is this?
283
- $current_page = !empty( $_GET["paged"] ) ? $wpdb->escape( $_GET["paged"] ) : '';
284
  //Page Number
285
  if( empty( $current_page ) || !is_numeric( $current_page ) || $current_page <= 0 ) {
286
  $current_page = 1;
23
  'ajax' => false //does this table support ajax?
24
  ) );
25
  }
26
+
27
+
28
+ /**
29
+ * Add extra markup in the toolbars before or after the list
30
+ * @param string $which, helps you decide if you add the markup after (bottom) or before (top) the list
31
+ */
32
+ function extra_tablenav( $which ) {
33
+ if ( $which == "top" ){
34
+ //The code that goes before the table is here
35
+ echo '<span id = "el-pro-msg">';
36
+ _e('More fields are available in Pro addon. ', 'email-log');
37
+ echo '<a href = "http://sudarmuthu.com/out/buy-email-log-more-fields-addon" style = "color:red">';
38
+ _e('Buy Now', 'email-log');
39
+ echo '</a>';
40
+ echo '</span>';
41
+ }
42
+
43
+ if ( $which == "bottom" ){
44
+ //The code that goes after the table is there
45
+ echo '<p>&nbsp;</p>';
46
+ echo '<p>&nbsp;</p>';
47
+
48
+ echo '<p>';
49
+ _e('The following are the list of pro addons that are currently available for purchase.', 'email-log');
50
+ echo '</p>';
51
+
52
+ echo '<ul style="list-style:disc; padding-left:35px">';
53
+
54
+ echo '<li>';
55
+ echo '<strong>', __('Email Log - Forward Email', 'email-log'), '</strong>', ' - ';
56
+ echo __('This addon allows you to send a copy of all emails send from WordPress to another email address', 'email-log');
57
+ echo ' <a href = "http://sudarmuthu.com/wordpress/email-log/pro-addons#forward-email-addon">', __('More Info', 'email-log'), '</a>.';
58
+ echo ' <a href = "http://sudarmuthu.com/out/buy-email-log-forward-email-addon">', __('Buy now', 'email-log'), '</a>';
59
+ echo '</li>';
60
+
61
+ echo '<li>';
62
+ echo '<strong>', __('Email Log - More fields', 'email-log'), '</strong>', ' - ';
63
+ echo __('Adds more fields (From, CC, BCC, Reply To, Attachment) to the logs page.', 'email-log');
64
+ echo ' <a href = "http://sudarmuthu.com/wordpress/email-log/pro-addons#more-fields-addon">', __('More Info', 'email-log'), '</a>.';
65
+ echo ' <a href = "http://sudarmuthu.com/out/buy-email-log-more-fields-addon">', __('Buy now', 'email-log'), '</a>';
66
+ echo '</li>';
67
+
68
+ echo '</ul>';
69
+ }
70
+ }
71
 
72
  /** ************************************************************************
73
  * REQUIRED! This method dictates the table's columns and titles. This should
89
  'to' => __('To', 'email-log'),
90
  'subject' => __('Subject', 'email-log')
91
  );
92
+
93
+ return apply_filters( EmailLog::HOOK_LOG_COLUMNS, $columns );
94
  }
95
 
96
  /** ************************************************************************
137
  * @param array $column_name The name/slug of the column to be processed
138
  * @return string Text or HTML to be placed inside the column <td>
139
  **************************************************************************/
140
+ function column_default( $item, $column_name ){
141
+ do_action( EmailLog::HOOK_LOG_DISPLAY_COLUMNS, $column_name, $item );
 
 
 
142
  }
 
143
 
144
  /** ************************************************************************
145
  * Recommended. This is a custom column method and is responsible for what
161
 
162
  //Build row actions
163
  $actions = array(
164
+ 'delete' => sprintf( '<a href="?page=%s&action=%s&%s=%s&%s=%s">%s</a>',
165
  $_REQUEST['page'],
166
  'delete',
167
  $this->_args['singular'],
168
  $item->id,
169
  EmailLog::DELETE_LOG_NONCE_FIELD,
170
+ wp_create_nonce( EmailLog::DELETE_LOG_ACTION ),
171
+ __( 'Delete', 'email-log' )
172
  ),
173
  );
174
 
305
  $query = "SELECT * FROM " . $EmailLog->table_name;
306
 
307
  if ( isset( $_GET['s'] ) ) {
308
+ $search_term = esc_sql( $_GET['s'] );
309
 
310
  $query .= " WHERE to_email LIKE '%$search_term%' OR subject LIKE '%$search_term%' ";
311
  }
312
 
313
  /* -- Ordering parameters -- */
314
  //Parameters that are going to be used to order the result
315
+ $orderby = !empty( $_GET["orderby"] ) ? esc_sql( $_GET["orderby"] ) : 'sent_date';
316
+ $order = !empty( $_GET["order"] ) ? esc_sql( $_GET["order"] ) : 'DESC';
317
 
318
  if(!empty($orderby) & !empty($order)) {
319
  $query .= ' ORDER BY ' . $orderby . ' ' . $order;
323
  $total_items = $wpdb->query( $query ); //return the total number of affected rows
324
 
325
  //Which page is this?
326
+ $current_page = !empty( $_GET["paged"] ) ? esc_sql( $_GET["paged"] ) : '';
327
  //Page Number
328
  if( empty( $current_page ) || !is_numeric( $current_page ) || $current_page <= 0 ) {
329
  $current_page = 1;
languages/email-log.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Email Log package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Email Log 1.5.1\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/email-log\n"
7
- "POT-Creation-Date: 2013-09-09 06:55:00+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -12,101 +12,145 @@ msgstr ""
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #: email-log.php:118
16
  msgid "Buy Addons"
17
  msgstr ""
18
 
19
- #. #-#-#-#-# email-log.pot (Email Log 1.5.1) #-#-#-#-#
20
  #. Plugin Name of the plugin/theme
21
- #: email-log.php:128
22
  msgid "Email Log"
23
  msgstr ""
24
 
25
- #: email-log.php:142
26
  msgid "Email Logs"
27
  msgstr ""
28
 
29
- #: email-log.php:148
30
  msgid "1 email log deleted."
31
  msgid_plural "%s email logs deleted"
32
  msgstr[0] ""
33
  msgstr[1] ""
34
 
35
- #: email-log.php:150
36
  msgid "There was some problem in deleting the email logs"
37
  msgstr ""
38
 
39
- #: email-log.php:158
40
  msgid "Search Logs"
41
  msgstr ""
42
 
43
- #: email-log.php:191
44
  msgid "About Plugin"
45
  msgstr ""
46
 
47
- #: email-log.php:193
48
  msgid ""
49
  "Email Log WordPress Plugin, allows you to log all emails that are sent "
50
  "through WordPress."
51
  msgstr ""
52
 
53
- #: email-log.php:200
54
  msgid "More information"
55
  msgstr ""
56
 
57
- #: email-log.php:201
58
  msgid "Plugin Homepage/support"
59
  msgstr ""
60
 
61
- #: email-log.php:202
62
  msgid "Plugin author's blog"
63
  msgstr ""
64
 
65
- #: email-log.php:203
66
  msgid "Other Plugin's by Author"
67
  msgstr ""
68
 
69
- #: email-log.php:210
70
  msgid "Entries per page"
71
  msgstr ""
72
 
73
- #: email-log.php:259
74
  msgid "Log"
75
  msgstr ""
76
 
77
- #: email-log.php:269
78
  msgid "plugin"
79
  msgstr ""
80
 
81
- #: email-log.php:269
82
  msgid "Version"
83
  msgstr ""
84
 
85
- #: email-log.php:269
86
  msgid "by"
87
  msgstr ""
88
 
89
- #: include/class-email-log-list-table.php:43
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  msgid "Sent at"
91
  msgstr ""
92
 
93
- #: include/class-email-log-list-table.php:44
94
  msgid "To"
95
  msgstr ""
96
 
97
- #: include/class-email-log-list-table.php:45
98
  msgid "Subject"
99
  msgstr ""
100
 
101
- #: include/class-email-log-list-table.php:132
102
- msgid "%s @ %s"
 
103
  msgstr ""
104
 
105
- #: include/class-email-log-list-table.php:189
106
- msgid "Delete"
107
  msgstr ""
108
 
109
- #: include/class-email-log-list-table.php:312
110
  msgid "Your email log is empty"
111
  msgstr ""
112
 
2
  # This file is distributed under the same license as the Email Log package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Email Log 1.5.2\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/email-log\n"
7
+ "POT-Creation-Date: 2013-09-13 15:15:13+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
+ #: email-log.php:125
16
  msgid "Buy Addons"
17
  msgstr ""
18
 
19
+ #. #-#-#-#-# email-log.pot (Email Log 1.5.2) #-#-#-#-#
20
  #. Plugin Name of the plugin/theme
21
+ #: email-log.php:135
22
  msgid "Email Log"
23
  msgstr ""
24
 
25
+ #: email-log.php:149
26
  msgid "Email Logs"
27
  msgstr ""
28
 
29
+ #: email-log.php:155
30
  msgid "1 email log deleted."
31
  msgid_plural "%s email logs deleted"
32
  msgstr[0] ""
33
  msgstr[1] ""
34
 
35
+ #: email-log.php:157
36
  msgid "There was some problem in deleting the email logs"
37
  msgstr ""
38
 
39
+ #: email-log.php:165
40
  msgid "Search Logs"
41
  msgstr ""
42
 
43
+ #: email-log.php:198
44
  msgid "About Plugin"
45
  msgstr ""
46
 
47
+ #: email-log.php:200
48
  msgid ""
49
  "Email Log WordPress Plugin, allows you to log all emails that are sent "
50
  "through WordPress."
51
  msgstr ""
52
 
53
+ #: email-log.php:207
54
  msgid "More information"
55
  msgstr ""
56
 
57
+ #: email-log.php:208
58
  msgid "Plugin Homepage/support"
59
  msgstr ""
60
 
61
+ #: email-log.php:209
62
  msgid "Plugin author's blog"
63
  msgstr ""
64
 
65
+ #: email-log.php:210
66
  msgid "Other Plugin's by Author"
67
  msgstr ""
68
 
69
+ #: email-log.php:217
70
  msgid "Entries per page"
71
  msgstr ""
72
 
73
+ #: email-log.php:266
74
  msgid "Log"
75
  msgstr ""
76
 
77
+ #: email-log.php:276
78
  msgid "plugin"
79
  msgstr ""
80
 
81
+ #: email-log.php:276
82
  msgid "Version"
83
  msgstr ""
84
 
85
+ #: email-log.php:276
86
  msgid "by"
87
  msgstr ""
88
 
89
+ #: include/class-email-log-list-table.php:36
90
+ msgid "More fields are available in Pro addon. "
91
+ msgstr ""
92
+
93
+ #: include/class-email-log-list-table.php:38
94
+ msgid "Buy Now"
95
+ msgstr ""
96
+
97
+ #: include/class-email-log-list-table.php:49
98
+ msgid ""
99
+ "The following are the list of pro addons that are currently available for "
100
+ "purchase."
101
+ msgstr ""
102
+
103
+ #: include/class-email-log-list-table.php:55
104
+ msgid "Email Log - Forward Email"
105
+ msgstr ""
106
+
107
+ #: include/class-email-log-list-table.php:56
108
+ msgid ""
109
+ "This addon allows you to send a copy of all emails send from WordPress to "
110
+ "another email address"
111
+ msgstr ""
112
+
113
+ #: include/class-email-log-list-table.php:57
114
+ #: include/class-email-log-list-table.php:64
115
+ msgid "More Info"
116
+ msgstr ""
117
+
118
+ #: include/class-email-log-list-table.php:58
119
+ #: include/class-email-log-list-table.php:65
120
+ msgid "Buy now"
121
+ msgstr ""
122
+
123
+ #: include/class-email-log-list-table.php:62
124
+ msgid "Email Log - More fields"
125
+ msgstr ""
126
+
127
+ #: include/class-email-log-list-table.php:63
128
+ msgid ""
129
+ "Adds more fields (From, CC, BCC, Reply To, Attachment) to the logs page."
130
+ msgstr ""
131
+
132
+ #: include/class-email-log-list-table.php:88
133
  msgid "Sent at"
134
  msgstr ""
135
 
136
+ #: include/class-email-log-list-table.php:89
137
  msgid "To"
138
  msgstr ""
139
 
140
+ #: include/class-email-log-list-table.php:90
141
  msgid "Subject"
142
  msgstr ""
143
 
144
+ #: include/class-email-log-list-table.php:171
145
+ #: include/class-email-log-list-table.php:232
146
+ msgid "Delete"
147
  msgstr ""
148
 
149
+ #: include/class-email-log-list-table.php:175
150
+ msgid "%s @ %s"
151
  msgstr ""
152
 
153
+ #: include/class-email-log-list-table.php:355
154
  msgid "Your email log is empty"
155
  msgstr ""
156
 
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: sudar
3
  Tags: email, wpmu, wordpress-mu, log
4
  Requires at least: 3.3
5
- Tested up to: 3.6
6
- Stable tag: 1.5.1
7
 
8
  Logs every email sent through WordPress. Compatible with WPMU too.
9
 
@@ -21,7 +21,20 @@ In the admin interface, all the logged emails can be delete in bulk or can also
21
 
22
  ### Forward email (Pro addon)
23
 
24
- You can [buy the Forward email pro addon](http://sudarmuthu.com/out/buy-email-log-forward-email-addon), which allows you to send a copy of all the emails send from WordPress, to another email address. The addon allows you to choose whether you want to forward through to, cc or bcc fields. This can be extremely useful when you want to debug by analyzing the emails that are sent from WordPress. The cost of the addon is $15.
 
 
 
 
 
 
 
 
 
 
 
 
 
25
 
26
  ### Cleaning up db on uninstall
27
 
@@ -154,6 +167,10 @@ Extract the zip file and drop the contents in the wp-content/plugins/ directory
154
  - Fix undfined notice error. Issue #8
155
  - Update screenshots. Issue #6
156
 
 
 
 
 
157
  == Upgrade Notice ==
158
 
159
  = 0.9.2 =
2
  Contributors: sudar
3
  Tags: email, wpmu, wordpress-mu, log
4
  Requires at least: 3.3
5
+ Tested up to: 3.6.1
6
+ Stable tag: 1.5.2
7
 
8
  Logs every email sent through WordPress. Compatible with WPMU too.
9
 
21
 
22
  ### Forward email (Pro addon)
23
 
24
+ You can [buy the Forward email pro addon](http://sudarmuthu.com/wordpress/email-log/pro-addons#forward-email-addon), which allows you to send a copy of all the emails send from WordPress, to another email address. The addon allows you to choose whether you want to forward through to, cc or bcc fields. This can be extremely useful when you want to debug by analyzing the emails that are sent from WordPress. The cost of the addon is $15 and you can buy it through [paypal](http://sudarmuthu.com/out/buy-email-log-forward-email-addon).
25
+
26
+ ### More Fields (Pro addon)
27
+
28
+ You can [buy the More Fields pro addon](http://sudarmuthu.com/wordpress/email-log/pro-addons#more-fields-addon), which shows additional fields in the email log page. The following are the additional fields that are added by this addon.
29
+
30
+ - From
31
+ - CC
32
+ - BCC
33
+ - Reply To
34
+ - Attachment
35
+
36
+ The cost of the addon is $15 and you can buy it through [paypal](http://sudarmuthu.com/out/buy-email-log-more-fields-addon).
37
+
38
 
39
  ### Cleaning up db on uninstall
40
 
167
  - Fix undfined notice error. Issue #8
168
  - Update screenshots. Issue #6
169
 
170
+ = v1.5.2 (2013-09-13) - (Dev time: 0.5 hours) =
171
+ - Add the ability to override the fields displayed in the log page
172
+ - Add support for "More Fields" addon
173
+
174
  == Upgrade Notice ==
175
 
176
  = 0.9.2 =