Extension talk:EmailToWiki

swell aran, thanks! does this require responding to Special:Confirmemail in order to use?

--Wikiexpert 12:32, 14 June 2007 (UTC)

Emails not showing up in wiki
Email to wiki is awesome!

Although, I am having a bit of a tough time getting it to work.

the log file shows that EmailToWiki is getting into email, and is processing email, but none of the pages or updates are actually showing up on the wiki. (I do have SimpleForms installed, too).

My EamilToWiki conf looks like this: $popServer = "mail.xxxxx.com"; $popUser = 'wiki@xxxxx.com'; $popPassword = 'password'; $maxlines = "1000"; $deleteProcessed = "true"; $wikiTemplate = 'Email'; Any help is greatly appreciated! :) --SamRose 20:20, 24 September 2007 (UTC)
 * The first thing to check would be to see whether Simple Forms is able to create and edit articles, try creating the following form to test this,

Newly created article will be shown here... This should make a form into which you can type an article name and some content, when you hit submit it should create that article. --Nad 21:25, 24 September 2007 (UTC)


 * Well, I'm part of the way there...creates form, but not article: http://socialsynergyweb.com/semanticwiki/index.php?title=WikiEmail --SamRose 21:41, 24 September 2007 (UTC)


 * I should have specified a simpler test actually since that one requires Ajax/Mootools which isn't working, but EmailToWiki doesn't need Ajax. I tested a simple-forms create-article request on your wiki which worked successfully, so the wiki side of things is working.


 * I've just noticed that two important configuration settings are missing in the docs! I think I missed them out because I was going to get it to automatically retrieve them from the LocalSettings file but never got round to it - sorry :-/ - You need to set $wgServer and $wgScript in your configuration to the same values as those variables in your wiki. In your case the following,

Thanks so much, Nad. I added those variables, but still having the same issue. Do I need to have a page with a Template on it named in the cofig, too?--SamRose 22:43, 24 September 2007 (UTC)
 * No the config should be fine now - the next thing to try would be to see if you can update/create an article from the shell, try

wget http://socialsynergyweb.com/semanticwiki/index.php?title=test-article&content=test-content and then see if "test-article" has been created with "test-content" in it. --Nad 23:30, 24 September 2007 (UTC)

(PS. Thanks very, very much for help!) --SamRose 23:51, 24 September 2007 (UTC)
 * Hmmmm that wget doesn't work for me either actually... I made a small test script that replicates exactly what the EmailArticle.pl script does and ran it locally from my shell here and it's updated your wiki correctly, so it must be a problem with your server setup, try creating the following test script (from your servers shell), set its permissions to 755 and run it to see if it can update your wiki, I suspect that there may be some perl components missing or something.

You are right. I am missing Net::POP3 Perl module. Thanks again for your help. I'll move this to a server that allows me to install these modules... --SamRose 02:31, 25 September 2007 (UTC)
 * If you have shell access to your server you should be able to install any additional perl modules since their installations are written in perl too - try downloading from CPAN, unpack and run makefile. --Nad 04:59, 25 September 2007 (UTC)

wget http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/libnet-1.22.tar.gz gzip -dc libnet-1.22.tar.gz | tar -xof - cd libnet-1.22 perl Makefile.PL make install

I don't get the username equaling the article title.
How does the username in the email address equate to the title? Does the script have to have access to any and all possible usernames email accounts?

It seems like a great idea, I guess I am just confused as to how it works with the email server.

Thanks, Pete. --205.172.241.12 16:14, 5 October 2007 (UTC)
 * This extension is for sending content to the wiki using email instead of browser, so the wiki must have its own email domain so that email can be addressed to a specific article. This is not related to wiki users or their email addresses, for sending wiki articles to users, use Extension:EmailArticle --Nad 21:10, 5 October 2007 (UTC)