Difference between revisions of "Extension talk:EmailPage"
(EmailArticle integration with Class.phpmailer.php and where it should go) |
(More details for how I got it going, doc just need improving on MW) |
||
Line 11: | Line 11: | ||
$wgPhpMailerClass = dirname(__FILE__).'/phpmailer/class.phpmailer.php'; # From http://phpmailer.sourceforge.net/ | $wgPhpMailerClass = dirname(__FILE__).'/phpmailer/class.phpmailer.php'; # From http://phpmailer.sourceforge.net/ | ||
</php> | </php> | ||
− | --[[User:Sven|Sven]] | + | |
+ | 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 [http://sourceforge.net/project/showfiles.php?group_id=26031&package_id=17494&release_id=341210 this] download as the version on [[Class.phpmailer.php|organic design]] --[[User:Sven|Sven]] |
Revision as of 21:18, 1 July 2007
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