Skip to content

Manually injected messages must have is_sent, is_cancelled and is_blocked set to 0 #29

@marco-pm

Description

@marco-pm

The database fields is_sent, is_cancelled, is_blocked are NULL by default and their labels say "Do not specify this field when manually inserting.".
However if a message is manually inserted into the table, it won't be delivered unless those fields are 0 (condition in delivery.php), in fact the inject function of emailqueue_inject_class sets them to 0.

So I'd either change their default values to 0 instead of NULL, or change their description specifying to set them to 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions