General plugins (Local) ::: local_mail
Maintained by Albert Gasset, Marc Català
Webmail-like messaging
Latest release:
3097 sites
70 fans
Current versions available: 6

This plugin allows users to send messages to each other, using an interface and features similar to webmail clients. Messages are tied to courses, users can only contact other participants in courses they are enrolled. Reading/sending of messages is done through a new item in the navigation block called "My Mail".


Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5
Screenshot #6
Screenshot #7


Albert Gasset (Lead maintainer)
Manuel Cagigas Lago
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Marc Català
    Sun, Dec 18, 2022, 3:04 AM
    Sorry Michael for the late response,

    For the feature you request, it's doable but we have to think about it. I hope next year Mail will be updated and some of your new features requests could be added.

    Mail has the capability "local/mail:usemail" that allows to enable or disable the use of Mail in any course.

  • Marc Català
    Sun, Dec 18, 2022, 3:16 AM
    Hi Ali,

    It's not possible to restrict adding users only to CC.

    In case students are not allowed to view other profiles you have to set capability "moodle/user:viewdetails" to Not set.

  • Michael Andersson
    Thu, Mar 2, 2023, 9:25 PM
    Thanks for your response Marc. The tip about being able to disable the messaging function in a course was valuable to us. When I disable the function for students in a course, they come to the page where they have to choose a course, I would have liked there to be a text box above the drop-down menu where the students choose a course where we can adapt the text via the language editor, e.g. "Select your course, if you do not find your course, the function may be disabled in the course"
  • Eurecat Academy
    Fri, Apr 21, 2023, 8:18 PM
    Hola Marc,

    Gracias por el plugin, es muy útil.

    La única cosa que echamos de menos, y quería saber si es posible, es que cuando se envíe un email a través del plugin envíe una copia del email o una notificación al correo personal del alumno. ¿Es posible?

    El problema que tenemos es que solo son conscientes de la recepción de los emails cuando entran en la plataforma, por lo que no podemos utilizarlo para muchas cosas.

    Muchas gracias!!
  • Marc Català
    Mon, Apr 24, 2023, 5:32 PM
    Hola, Eurecat Academy,

    Mail utiliza las notificaciones de Moodle, por lo que cada usuario puede configurar en sus preferencias dónde quiere recibirlas.

    En las «Preferencias de notificación» tenéis la sección «Correo» y la opción «Notificación de correo recibido», allí cada usuario ha de marcar que quiere recibir las notificaciones al «Email».

  • Juan Gomez
    Fri, Jun 16, 2023, 5:19 AM
    Hello developers,

    Thank you for this amazing feature. I have a question. Is this plugin compatible to use in the Moodle Mobile App?

    Thank you
  • Juan Gomez
    Fri, Jun 16, 2023, 5:25 AM
    Hola Marc y Albert,

    Gracias por su trabajo en este plugin. Quisiera preguntarles si es compatible para usar en la aplicación movil de Moodle.

    Muchas gracias.
  • Marc Català
    Fri, Jun 16, 2023, 11:56 PM
    Hola, Juan,

    Actualmente no es compatible con la aplicación móvil, pero puede haber sorpresas para este mismo año.

  • Alex Aranda
    Tue, Jun 27, 2023, 11:55 PM
    WARNING !!


    I uploaded a fixed version in my github and gitlab:

  • Albert Gasset
    Wed, Jun 28, 2023, 12:14 AM
    Hi Alex Aranda,

    Instead of raising a warning about the plugin, please provide detailed steps to reproduce the bug if you think there is a bug.

    As I explained in the response to your pull requests, there's is no XSS vulnerability: the content is sanitized by Moodle before displaying it.

    I urge you to learn about Moodle programming if you want to contribute to Moodle core or plugins:


  • Sergio Dublanc
    Tue, Aug 15, 2023, 10:30 PM
    Hola gente, como están?, hago una consulta, tengo instalado Moodle 3.9 y local_mail 2017121405, release 1.9.10, en curso de 100 alumnos puedo seleccionar con el botón para a todos los participantes, pero en un curso de 118 alumnos me dice que hay muchos registros y no los puede mostrar, existe alguna configuración para cambiar la cantidad de recipientes/destinatarios que muestra la interfaz de local_mail?, salu2 y gracias
  • Martha Salmerón
    Thu, Aug 17, 2023, 5:29 AM
    Buenas tardes, instale la versión Release 1.9.13 Moodle 3.11, 4.0, 4.1, 4.2, tengo instalada la versión 4.0.5 de moodle, al probar el envio de correo de un destinatario a otro me arroja el siguiente correo Error:local/mail/locallib.php local_mail_send_mail():Could not send out for id2 to user ( trying again, el sobre con la notificación aparece hasta que doy actualizar, alguién me puede orientar por favor

  • António José Araújo
    Fri, Aug 25, 2023, 4:28 AM
    Instalei o plugin, mas obtive este erro, podem ajudar?
    Foi detetado o seguinte erro de programação que deve ser corrigido por um programador: Url parameters values can not be objects, unless __toString() is defined!
  • Kate James
    Mon, Oct 23, 2023, 7:16 PM
    @Michael Andersson - Did you manage to expand the plugin by out of office?
  • Kate James
    Sun, Nov 19, 2023, 9:38 PM

    after updating to the latest version of local_mail, moodle 4.3+ .. I have this error::

    Debug info: ERROR: column m.attachments does not exist
    LINE 1:, m.courseid, m.subject, m.content, m.format, m.attachme...
    SELECT, m.courseid, m.subject, m.content, m.format, m.attachments, m.draft, m.time, c.shortname, c.fullname, c.groupmode FROM mdl_local_mail_messages m JOIN mdl_course c ON = m.courseid AND m.courseid IN (9204) WHERE IN (770683)
    [array (
    Error code: dmlreadexception
Please login to post comments