MailPress Review - Configuration
Table of contents for MailPress Review
- MailPress Review - Introduction
- MailPress Review - Installation
- MailPress Review - Configuration
- MailPress Review - Selecting a Theme
- MailPress Review - Theme Design (Intro)
- MailPress Review - Theme Design (Styling)
After I activated MailPress, I had to refresh my browser to allow the MailPress user interface elements to show up, but this was probably because I also use the Lighter Menus plugin (a staple for any WordPress site I manage). Â MailPress spreads its user interface elements around to several places within the WordPress admin panel, which gives you the sense that MailPress is actually an integral part of WordPress. Â As I was coming up to speed on it, though, I found it a little disconcerting as I was still learning how to use and configure it. Â Fortunately MailPress allows you to bring all the MailPress UI elements together under one top-level menu. Â This is what I’m using now, but I may switch back after using it for a while.
The first thing you will want to do is to go to the MailPress Settings page which you can find under the Settings menu. Â This page has three sub-pages.
General
- All Mails sent from
The email address and display name of the email account from which emails will be sent. - Allow subscriptions to
You can choose to only allow certain types of subscriptions. Â The plugin calls emails containing posts newsletters, and newsletters can be sent in the following situations:Â- Whenever a post is sent.
- On a daily basis containing posts from the previous day.
- On a weekly basis containing posts from the previous week.
- On a monthly basis containing posts from the previous month.
You can also choose to allow subscriptions to comments. Â Enabling comment subscriptions also adds a checkbox after comments on posts to allow users to subscribe to comments on that post. Note that in order for comment subscriptions to work your WordPress theme must include the following statement in the comment form:
<?php do_action('comment_form', $post->ID); ?> - User manage subscriptions from
Specifies how users will be able to manage their subscriptions.Â- Default
Will display an HTML page with the WordPress theme header and footer. - Page template
Indicates you are using a specified page that usespt_mailPress.phpfrom theplugins\mailpress\xtrasfolder as a page template. Â To do this, you must copy that file to your theme directory. Â You will probably also want to modify it for your theme. Â This option requires that you specify the ID of the page using the page template. - Category template
Indicates you are using a specified page that usescategory-xx.phpfrom theplugins\mailpress\xtrasfolder as a page template. Â To do this, you must copy that file to your theme directory as, e.g.,category-99999.php. Â You will probably also want to modify it for your theme. Â This option requires that you specify the ID of the category that will use the template. Â Note, though, that you don’t need to create a new category. Â Note: At this point this feature is somewhat of a mystery to me. Â It’s not clear to me how this works or how it would be used.
- Default
- Newsletters show at most
Indicates the maximum number of posts included in a newsletter email. Leaving it blank uses the value from the Blog pages show at most setting on the WordPress Reading settings page, which defaults to 10. Â You can change this value to anything from 1 to 30. - Admin
- MailPress version of wp_email
When checked, causes all email coming from WordPress to go through MailPress. Â When cleared, new user mail and mail for comment moderation will not go through MailPress. Â In most cases, you will want to check this checkbox. - MailPress admin menus in one place
By default MailPress adds menus to the Dashboard, Write, Manager, Design, Settings, and Users menus. Â Checking this option will create a top-level MailPress menu and put all those menus below it.
- MailPress version of wp_email
- Logging
Specifies options for logging MailPress’s email activity. Â A log for each day is stored in theplugins\mailpress\tmpfolder.Â- Logging level
Specifies the type of logging to perform. Â This setting applies to all mail sent through MailPress, so if you don’t check the MailPress version of wp_mail checkbox new user and comment moderation emails won’t be logged. Â The following values can be selected:Â- No logging - No logging will be done.
- Mailing log - All email causes logging.
- Various return codes (E_ERROR, E_WARNING, E_PARSE, E_NOTICE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING, E_USER_ERROR, E_USER_WARNING, E_USER_NOTICE, E_STRICT, E_RECOVERABLE_ERROR, E_ALL) - Only log if the specified status occurs when attempting to send email. Â Some of these seem pretty obvious (e.g. E_ERROR) but others seem like they are for debugging purposes (e.g. E_NOTICE). E_ALL seems like it might be the same thing as the Mailing log option. Â Some clarification from Andre on how the average user should set this would be helpful.
- Number of Log files
Specifies the number of daily log files to keep. Â A value from 1 to 10 can be specified. - Date of last purge
Indicates the date MailPress last purged log files. Â This value cannot be changed.
- Logging level
SMTP
This is perhaps the most important section to fill in as it describes the connection to your email server.
- SMTP Server
The name of the server through which email will be sent. Â Typically you can use the same server you use for email from your ISP, e.g.smtp.comcast.net. Â You may also be able to use the server of a service on which you have an account, e.g.smtp.gmail.com. - Username
The username for the account that has permission to send email through the SMTP server. Â One caveat I found is that you cannot use backslashes here. Â I use a Microsoft Exchange Server for my email and when I attempted to specify the username as domain\username, it doubled up the backslashes. Â Then, whenever I saved settings again, it doubled up the backslashes again. - Password
The password associated with the username for the account that has permission to send email through the SMTP server. - Use SSL or TLS ?
If your server requires you to use secure communications, select the appropriate option. Â Note that Transport Layer Security (TLS) was formerly known as Secure Sockets Layer (SSL), but these must be separate options in the underlying API. Â I’m not sure how they’re different, though. Â In any event, if your email host doesn’t mention anything about this, leave it set to No. - Port
Email is sent via TCP/IP using ports, and the standard SMTP port is 25. For most installations this should be set to Default SMTP Port. Â If you specified SSL or TLS (or you specifiedsmtp.gmail.comfor the SMTP server, apparently - I didn’t try it), then select Use for SSL/TLS/GMAIL. Â If your email server uses a different port, set this to Custom Port and specify the port in the box to the right. - SMTP-AUTH
Most installations will set this to No. Â However, if your email server requires authentication - a way to verify that you are who you say you are - specify the appropriate option: CRAM-MD5, LOGIN, PLAIN, or POP before SMTP.
In addition to SMTP, you can also use native PHP mail or sendmail by installing and activating one of the included plugins.
![]()
Test
This page allows you to test your connection as well as the appearance of mail using a theme. Â This is perhaps the next most important page when developing a new MailPress theme. Â One thing to note about this page - it’s both a settings page and a test page. Â In order to test, you must check one of the checkboxes in the Advanced options section.
- To
Specifies the email address and display name of the user to which test email will be sent. Â This allows you to test sending email to different types of email clients (e.g. those that use Microsoft Office Outlook, those that use various types of web mail, etc.). - Advanced options
This is where you specify the MailPress theme and message template to use in the test plus what type of test to perform.Â- Theme
Select the MailPress theme to use when sending the test email. MailPress ships with 5 themes (MailPress, classic, default, nogent94, and nohtml), all of which reside in theplugins\mailpress\mp-content\themesfolder. Â As you add additional themes, they will show up here as well. - Template
Specifies the message template to use when sending the test message. Â Each template found in the theme directory will be listed. - Log it
Forces logging when sending the message if logging was disabled on the General page. Â If logging is enabled test messages will be logged (based on the criteria specified on the General page) even if this option is not enabled. - Send it
This checkbox must be checked if you want to actually send email, e.g. you want to test your connection settings. - Archive it
If this option is checked the email will be added to the email archive allowing you to see the email from the MailPress Manage page. - Include it in statistics
MailPress includes an impressive array of statistics gathering and dashboard elements for tracking email sent through it. Â This option allows you to specify whether the test email will get included in those statistics or not, allowing you to test the statistics UI.
- Theme
Wishlist
The configuration of MailPress is really quite simple, which is impressive for a plugin this complex and full-featured. Â There isn’t really a lot that can be improved here, but there are a few things.
- Add a link on the plugins page next to the Deactivate and Edit links to the MailPress Settings page. Â This would help users find the Settings page quickly.
- Allow the logging location to be specified so that multiple sites that use the same WordPress files (e.g. WordPress-MU or MultiBlog-based sites) could have their log files stored in separate folders.




April 15th, 2009 at 8:02 am
Thanks for this post. Amazing to think none of this stuff is in the read me file that comes with the plugin!
I haven’t got [it] working, but I’m developing locally on my machine, so I’m hopeful it’ll all run smoothly once I put the site live.
I’ll endeavour to post back here with the OK!
Cheers,
L
May 8th, 2009 at 9:28 am
This instruction has been a huge help, as the other poster stated…why is not in the read me file? Thank you!
June 19th, 2009 at 6:20 pm
Hi David, firstly I wanted to thank you for your article and solution to customizing/personalizing the mailpress pages. I know nothing about coding, but with a little patience and by following your guide it worked beautifully. Thank you again.
Secondly, I have a problem getting the mailpress tracker addin working. I don’t get any logs, I don’t have any tracking results, and the world map isn’t working. I have a mailing list of c.1,000 users all over the world so it should be returning something. Can you please assist?
Thanks and my best regards,
Steve
January 10th, 2010 at 9:09 am
This entry was pretty interesting, how often do you update your blog? I’ve bookmarked this site and gave you guys a digg, hope to read more soon!