Extension talk:EmailPage

From Organic Design wiki
Revision as of 01:22, 19 December 2007 by Rob (talk | contribs) (add some simple stuff)

If you do not select a category, group etc, but specify additional recipients emails to send to, Special:EmailArticle fails with <ea_autherror>. Does it log what it is sending anywhere on the wiki? --Sven 14:21, 11 June 2007 (NZST)


There could be an issue with the documentation on MW for this extension, it says;

This extension uses Brent R. Matzelle's phpmailer class which you can download from OrganicDesign:Class.phpmailer.php and save as a file called class.phpmailer.php in the EmailArticle directory.

Which suggests to save Class.phpmailer.php in the EmailArticle directory. The code looks like it is looking for a subdirectory of that called phpmailer.

<php> $wgPhpMailerClass = dirname(__FILE__).'/phpmailer/class.phpmailer.php'; # From http://phpmailer.sourceforge.net/ </php>

I got it going by downloading the phpmailer class and installing it as a sub directory to EmailArticle, I also noticed that the file class.phpmailer.php is twice as big in this download as the version on organic design --Sven

blank page, no email

I installed extension as well according to all of the instructions outlined and the extension will not send email. It goes to a blank page when I hit submit. Any suggestions email me at drclinks@gmail.com. -Mike

Is the normal mediawiki mail functionality is working such as password confirmation or watchlist changes? --Nad 00:29, 6 July 2007 (UTC)
peblusto says: this would be a perfect extension ... if i could get it working! but we also get a blank page when clicking send, and there's no outgoing email, yet other email works from the wiki, including "e-mail user". i also note that this extension only permits building a page send form for users who have confirmed their email address (doh!) otherwise it displays "...permission denied" at the bottom of the form. here's my localsettings.php lines:

<php> include ("$IP/extensions/EmailArticle/EmailArticle.php"); $wgEmailArticleGroup = "*"; $wgPhpMailerClass = "$IP/extensions/EmailArticle/class.phpmailer.php"; </php> any clues? has anyone seen this "blank page, no email send" problem and resolved it? thanx peblusto 20:25, 19 September 2007 (UTC)

There seems to be a bug preventing the pseudo-groups ("*" and "user") from working. I'll try and fix that soon, but in the mean time, you can set the group to "" to allow anyone, or a real group. --Nad 10:15, 20 September 2007 (NZST)

Add simple switch

I installed the extension on my wiki and it works nicely. I made a few small changes to make the wording nicer and to provide a $wgEmailArticleSimple global that hides all the send to group stuff, making the extension more suitable for simple use. Here is the new code.