email upload

wijkkie

Joined: 2005-08-03
Posts: 78
Posted: Sun, 2010-05-16 21:10

I would like to have the possibility to upload images by email.
In a search i foud some things, but old links.

Does somebodt know if there is a module for emailupload?

Thanks

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2010-05-16 21:39
 
wijkkie

Joined: 2005-08-03
Posts: 78
Posted: Mon, 2010-05-17 22:28

Okee found it. but it says:

Backend/Code Check
Verification of all backend functions needed by plugin.

Function name Pass/fail
imap_timeout Missing
imap_open Missing
imap_errors Missing
imap_headers Missing
imap_body Missing
imap_headerinfo Missing
imap_fetchstructure Missing
imap_close Missing
imap_expunge Missing

Critical email functions are not available. Please ask your system administrator for help.
No further configuration is possible until the above errors are resolved.

How can i resolve this??

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2010-05-17 22:38
Quote:
Critical email functions are not available. Please ask your system administrator for help.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
wijkkie

Joined: 2005-08-03
Posts: 78
Posted: Mon, 2010-05-17 22:50

found the solution, but can't get it work.

 
wijkkie

Joined: 2005-08-03
Posts: 78
Posted: Mon, 2010-05-17 23:00

when i fill in the configuration page it doesn't seem to remember what i save. So the module will not work.

 
wijkkie

Joined: 2005-08-03
Posts: 78
Posted: Wed, 2010-05-19 20:50

Okee got the module working but when i run the following line like recommended in the readme i get an error.

http://your.gallery.com/main.php?g2_controller=addviaemail.Addviaemailpage

The error is:

Your change cannot be completed due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in.

Back to the Gallery

Error Detail -
Error (ERROR_REQUEST_FORGED)
in modules/core/classes/GalleryController.class at line 239 (GalleryCoreApi::error)
in main.php at line 243 (GalleryController::assertIsGenuineRequest)
in main.php at line 104
in main.php at line 88
System Information
Gallery version 2.3
PHP version 5.2.6 apache2handler
Webserver Apache/2.2.8 (Fedora) DAV/2 FrontPage/5.0.2.2635 PHP/5.2.6 mod_python/3.3.1 Python/2.5 mod_ssl/2.2.8 OpenSSL/0.9.8b mod_perl/2.0.3 Perl/v5.8.8
Database mysqli 5.0.45
Toolkits Thumbnail, Gd
Operating system Linux sahi.rubensworld.nl 2.6.23.17-88.fc7 #1 SMP Thu May 15 00:35:10 EDT 2008 i686
Browser Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; Tablet PC 2.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729)

 
wijkkie

Joined: 2005-08-03
Posts: 78
Posted: Sun, 2010-05-30 18:30

can somebody help me with this?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2010-05-30 19:10
 
wijkkie

Joined: 2005-08-03
Posts: 78
Posted: Sun, 2010-05-30 20:30

Hmm okee i have to execute that code on my server? why isn't this in a kind of manual or readme?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2010-05-30 21:06

The minute you have to pay for this software you can complain about the documentation.
addViaEmail is not part of the official Gallery2 package and the docs are maintained by users like yourself.
So feel free to update the docs for this module.

... Ah this module was originally developed by the lead developer Bharat himself - he always tries to make his docs easily understandable and complete.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
wijkkie

Joined: 2005-08-03
Posts: 78
Posted: Mon, 2010-05-31 14:57

:s sorry but it wasn't meant to complain. i know it's free and verry happy with Gallery. It was only a bit strange i couldn't find something about it somewhere.

But my question was: i will have to execute that on my server?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2010-06-01 10:57

I have not used this module, but my guess is that you'd need to setup a cron job to periodically check the specified email box.
And that's what the sample script would be for.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2