deltachat-android icon indicating copy to clipboard operation
deltachat-android copied to clipboard

BUG: when failed to send message to a single or more users reports as error, when should be warning

Open albjeremias opened this issue 10 months ago • 2 comments

Delta Chat version: 1.50.3

Expected behavior:

I expect that when a message in a chat fails to send, should give a warning sign and a more explicit message of what is the issue like: "Message failed to deliver to user Bob, Alice" and show a yellow warning sign in the corner of the message instead of a red.

Actual behavior:

When it fails to send a message to a single or multiple users it shows a long message saying:

Error:
Undelivered Mail Returned to Sender – This is the mail system at host ____.org.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

[bob@____.org](https://github.com/deltachat/deltachat-android/issues/new?assignees=&labels=bug&projects=&template=bug_report.md&title=#): host ____.org[private/dovecot-lmtp] said:
    552 5.2.2 [bob@____.org](https://github.com/deltachat/deltachat-android/issues/new?assignees=&labels=bug&projects=&template=bug_report.md&title=#) Quota exceeded (mailbox for user is
    full) (in reply to end of DATA command)

[alice@____.org.org](https://github.com/deltachat/deltachat-android/issues/new?assignees=&labels=bug&projects=&template=bug_report.md&title=#): host ____.org.org[private/dovecot-lmtp] said:
    552 5.2.2 [alice@____.org](https://github.com/deltachat/deltachat-android/issues/new?assignees=&labels=bug&projects=&template=bug_report.md&title=#) Quota exceeded (mailbox for user is
    full) (in reply to end of DATA command)

Steps to reproduce the problem:

fill a mailbox quota of a user in a group... send a message.

Screenshots:

image

albjeremias avatar Jan 10 '25 00:01 albjeremias

I don't think it's a bug, but a feature request. I know the error message can be cryptic since not everyone knows what the words used mean. As for the color of the warning, it's a personal taste. I think you can immediately notice that something is wrong with the current color.

ghost avatar Jan 10 '25 04:01 ghost

We could introduce a little toast message that pops up on the bottom of the view, that won't hurt.

gerryfrancis avatar Feb 05 '25 15:02 gerryfrancis

more explicit message of what is the issue like: "Message failed to deliver to user Bob, Alice"

this is nothing that can be done here in the android client, but would need delta chat core to support this, what the core receives are email delivery reports, basically some emails made for humans to read so might be tricky to parse since every provider could make it differently, still it could support the more well known formats

closing this issue as there is not much we can do here, and it is not a bug but intended behavior for now, we will likely come back to this and improve the situation in the near future

adbenitez avatar Aug 09 '25 12:08 adbenitez