» Changelog
-
Version 2.11 (01-06-2007)
- NEW: Added Template For Page Title And Page Subtitle In 'WP-Admin -> E-Mail -> E-Mail Options'
- NEW: Putting [email_link] In Your Post/Page Content Will Display A Link To The E-Mail Post/Page
- FIXED: Suppress gethostbyaddr() Error
- FIXED: Duplicate Page Title When Listing Pages With wp_list_pages()
- FIXED: If page.php Is Not Found, single.php or index.php Will Be Used
- FIXED: Wrong URL For Page Under Most E-Mailed Posts Listing
- FIXED: Wrong URL If Front Page Is A Static Page
- FIXED: Fixed A Minor Grammer Mistake For Remark (Singular)
- FIXED: Some Text Not Translated
-
Version 2.10 (01-02-2007)
- NEW: Works For WordPress 2.1 Only
- NEW: Added Fam Fam Fam's E-Mail Icon
- NEW: Localize WP-EMail
- NEW: Ability To Configure The Text For E-Mail Links Via 'WP-Admin -> E-Mail -> E-Mail Options'
- NEW: Ability To Set E-Mail Link Type (Standalone Page Or Popup Page) Via 'WP-Admin -> E-Mail -> E-Mail Options'
- NEW: The Text For E-Mail Links Can No Longer Be Pass To The Function email_link(), email_link_image(), email_popup() or email_popup_image().
- NEW: Ability To Select Which Field You Want To Display In The E-Mail Form
- FIXED: Name Fields No Longer Check For Validity Due To Localization
- FIXED: Special HTML Characters No Longer Get Converted Into Its Symbolic Form When Displaying In E-Mail -> E-Mail Options
- FIXED: Extra ; When Displaying Error Message
- FIXED: Removed 1 0 I O From The Image Verify To Avoid Confusion
-
Version 2.07 (01-10-2006)
- NEW: WP-EMail-Popup Now Have Nice Permalinks /emailpopup/ Or /emailpopuppage/
- NEW: Added rel="nofollow" To All Links Generated By WP-EMail
- NEW: Added noindex, nofollow To Robots Meta Tag In wp-email-popup.php
- NEW: Error Messages Will Now Be Displayed Together With The E-Mail Form
- FIXED: PHP5 Compatibility Issue
- FIXED: Image Verify Is Now Not Case Sensitive
- FIXED: Error In Logging Due To Post ID Being Blank
- FIXED: Form Input Data Will No Longer Be Lost After Encountering An Error
- FIXED: WP-EMail-Popup Not Working With Other Nice Permalinks
-
Version 2.06 (01-07-2006)
- FIXED: Modified Get Most Emailed Post Function
-
Version 2.05 (06-06-2006)
- NEW: Spam Prevention - Image Verification
- NEW: EMail Administration Panel And The Code That WP-EMail Generated Is XHTML 1.0 Transitional
- NEW: Added <label> Tag For Form Fields
- FIXED: Remarks Column Removed From E-Mail Logs Due To Privacy Issue
- FIXED: Duplicate Subject/Name When Sent Using PHP
- FIXED: Quotes Not Displaying When Sending In Plain Text
-
Version 2.04a (01-05-2006)
- FIXED: PHP Mail Not Working Properly (Thanks To Pablo)
-
Version 2.04 (01-04-2006)
- NEW: Ability To Sent To Multiple EMails (Config Via Admin Panel)l
- NEW: Added wp-email-popup.php For Using WP-EMail In A Pop Up Windowl
- NEW: Combined functions-wp-email.php With email.phpl
- NEW: Moved wp-email.php/wp-email-popup.php To Plugin Folderl
-
Version 2.03 (01-03-2006)
- NEW: Improved On 'manage_email' Capabilities
- NEW: Neater Structure
- NEW: No More Install/Upgrade File, It Will Install/Upgrade When You Activate The Plugin
- NEW: Added E-Mail Stats Function
- NEW: Per Page Option In email-manager.php
- NEW: Added Excerpt As A Template Variable
- NEW: Added EMail Image With email_link_image()
- FIXED: Now Paginate Have Sort Options
- FIXED: Default Mailer Type Is Now PHP
- FIXED: Charset Is Now UTF-8
- FIXED: Quotes Not Displaying
-
Version 2.02 (01-02-2006)
- NEW: Added 'manage_email' Capabilities To Administrator Roles
- FIXED: Able To View Password Protected Blog
-
Version 2.01 (01-01-2006)
- NEW: Compatible With WordPress 2.0 Only
- NEW: EMail A Snippet Of The Post Rather Than The Whole Post. Able To Specify The No. Of Words Before Cutting Off
- NEW: Spam Prevention - Better Checking Of Names, EMail Addresses And Remarks
- NEW: Spam Prevention - Able To Specify The No. Of Mins Before User Is Allowed To Send A 2nd Article
- NEW: GPL License Added
- NEW: Page Title Added To wp-email.php
- NEW: Automated Permalink
- FIXED: Date Not Showing Correctly In EMail Logs
- FIXED: Friend's Name Is Displayed Instead Of Friend's EMail On The Results Page
- UPDATE: Moved All The WP-EMail Functions To wp-includes/functions-wp-email.php
-
Version 2.00b (29-11-2005)
- FIXED: Error In Sending E-Mail With Pages
-
Version 2.00a (27-11-2005)
- FIXED: exit(); Missing in wp-email.php
-
Version 2.00 (20-11-2005)
- FIXED: Did Not Strip Slashes In Remarks Field
- FIXED: All Of WordPress Permlink Styles Should Work Now
- FIXED: Better Localization Support (80% Done, Will Leave It In The Mean Time)
- NEW: EMail Administration Panel
- NEW: EMail Templates Editable Online Via The Administration Panel
- NEW: Change EMail Options Online Via The Administration Panel
- NEW: Every EMail Sent Will Be Logged
- NEW: Uses WordPress Default Query Instead Of Own
- NEW: Uses Most Of The WordPress Functions To Get Data Instead Of Own
- NEW: Able To EMail Page Also
- NEW: If No Remarks Is Made, It Is Known As N/A
» Installation Instructions
-
Open wp-content/plugins Folder
-
Put:
Folder: email
-
Activate WP-EMail Plugin
-
Login To WP-Admin, Click E-Mail Tab
-
Modify your settings accordingly. If the mail server/type settings are not correct, WP-Email will NOT work.
-
You Need To Re-Generate The Permalink (WP-Admin -> Options -> Permalinks -> Update Permalink Structure)
-
Refer To Usage For Further Instructions
» Upgrade Instructions
From v2.0x To v2.11
-
Deactivate WP-EMail Plugin
-
Open wp-content/plugins Folder
-
Overwrite:
Folder: email
-
Activate WP-EMail Plugin
-
Go to 'WP-Admin -> EMail -> EMail Options' and restore all the template variables to Default
-
You Need To Re-Generate The Permalink (WP-Admin -> Options -> Permalinks -> Update Permalink Structure)
-
Refer To Usage For Further Instructions
» Usage Instructions
General Usage
-
Open wp-content/themes/<YOUR THEME NAME>/index.php
You may place it in single.php, post.php, page.php or theloop.php also.
-
Find:
<?php while (have_posts()) : the_post(); ?>
-
Add Anywhere Below It:
<?php if(function_exists('wp_email')) { email_link(); } ?>
If you DO NOT want the print link to appear in every post/page, DO NOT use the code above. Just type in [email_link] into the selected post/page content and it will embed the email link into that post/page only.
EMail Stats (Outside WP Loop)
-
To Display Most E-Mailed Posts
-
Use:
<?php if (function_exists('get_mostemailed')): ?>
<?php get_mostemailed(); ?>
<?php endif; ?>
The first value you pass in is what you want to get, 'post', 'page' or 'both'.
The second value you pass in is the maximum number of post you want to get.
Default: get_mostemailed('both', 10);
-
To Display Total E-Mails Sent
-
Use:
<?php if (function_exists('get_emails')): ?>
<?php get_emails(); ?>
<?php endif; ?>
-
To Display Total E-Mails Sent Successfully
-
Use:
<?php if (function_exists('get_emails_success')): ?>
<?php get_emails_success(); ?>
<?php endif; ?>
-
To Display Total E-Mails Sent Unsuccessfully
-
Use:
<?php if (function_exists('get_emails_failed')): ?>
<?php get_emails_failed(); ?>
<?php endif; ?>
Note
- If WP-EMail 2.11 does not work for you (404 error even after re-generating of permalink), please drop me an email with page.php of your theme attached to it. The problem is due to your theme is using an outdated method of getting/display posts/pages.
-
To change the background color of the popup window:
-
Open wp-email-popup.php
-
Find:
/* background: #ffffff; */
-
Replace:
background-color: #ffffff;
Where #ffffff should be your background color for the popup window.