Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

Email notifications #62

@phette23

Description

@phette23

See invenio-notifications config. Notifications seem to be configured but emails are not sent. We probably need to configure a real SMTP server.

See invenio-mail which wraps flask-mail.

Sending an email in invenio shell does not work. We get an AsyncResult and messages in the logs, but no email ever arrives.

from invenio_mail.tasks import send_email
message_data = {
   'sender': '[email protected]',
   'recipients': ['[email protected]'],
   'subject': 'Greetings!',
   'body': 'Sent from invenio shell.',
}
send_email.delay(data=message_data)
# <AsyncResult: 3f592586-2b72-4da1-abca-20ac04f7fdd0>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions