Emailed Files

Repositories ::: repository_emailed_files
Maintained by Robert Schrenk
Create a Mailbox for your Moodle Instance (e.g. moodle@yourorganization.org / moodleXY@gmail.com). Users can send mails to this mail-Address and import email-attachments from their mails as files.
Latest release:
9 sites
7 fans
Current versions available: 1

The main advantage of using the email repository is that you can use nearly every mailbox that provides access via imap, which is rather easy. Any user can send an email to this address e.g. moodle@yourorganization.com or ourmoodle@gmail.com. As long as the senders mail-address is the same as the mail-address of the moodle-user the user can import the attachment into moodle.

On the configuration page of the moodle plugin there is a parameter to specify after how many days old emails should be deleted.

The e-Mail Repository Plugin is distributed under GPL 3 on github ->https://github.com/rschrenk/moodle_email_repository

Screenshots

Screenshot #0

Contributors

Robert Schrenk (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Johannes Burk
    Thu, 18 Dec 2014, 7:11 PM
    I installed and configured the plugin but every time I click on the repository to select a file I get a message box "SyntaxError: Unexpected end of input". This is with chrome browser. With Firefox the error text is "JSON.parse: unexpected end of data at line 1 column 1 of the JSON data".
    JavaScript log outputs an internal server error (500) during POST http://testserver.local/moodle/repository/repository_ajax.php?action=list

    In addition some lang strings and the icon is missing. Any ideas about what the problem is?
    I'm using latest stable moodle 2.7 version.
  • Robert Schrenk
    Fri, 19 Dec 2014, 6:16 PM
    Hi, I found a bug that caused an issue when reading the contents of a mailbox. This should be fixed by now. If you still can not see your attachments please try different email clients. I tested Thunderbird, Google Mail (Web) and MacOS Mail. It worked with MacOS Mail as well as Google Mail, but not worked with Thunderbird. I will have to go into detail how Thunderbird structures the eMails but this may take a while. Hope the new version works for you now. Kind regards, Robert
  • Johannes Burk
    Mon, 22 Dec 2014, 7:55 PM
    An error popup now says "Unexpected token <".
    I also checked my mailserver log and couldn't found a login attempt.
  • Robert Schrenk
    Wed, 31 Dec 2014, 8:12 AM
    Hi,

    I was working hard on this plugin in the last days. May you please try my latest version from github? https://github.com/rschrenk/moodle_email_repository

    The new version handles different mail structures better caused by different email composers. It works fine on my development machine using gmail via imap. Please ensure that you have set the correct parameters in your moodle administration (Website-Administration > Plugins > Repositories > My emailed files).

    My GMail-Configuration:
    Host: imap.gmail.com
    Port: 993
    Default Mailbox: (leave empty)
    Mailbox Username: email-address
    Mailbox Passwort: password
    Use SSL: yes
    Check certificate: no
    Delete eMails automatically: 1 (after 1 day)

    Hope this helps. I would appreciate knowing my plugin works for you!
Please login to post comments