Stuck in Draft (didn't send)

OK I’ll fire up Thunderbird tomorrow to check.

I now understand from Illia’s post above that the “Edit as new” or whatever it is called has been changed to craft it as a “attachment” instead of just leaving it as is. And a fix has been posted to put that back.

That will allow access to the send button

What was brought up as you say “subsequently” were all steps taken at the good faith suggestions of others that didn’t work.

OK this IS really off topic but I had to reassure myself (possibly others) who were confused about Thunderbird (a well known/popular client email browser app) influencing the style of Usermin.

A message in Thunderbird after “Save as Draft”

The “Draft” after opening (clicking on the message) ready to edit and send

The whole message can be edited but most important note the very clear understandable button “Send” not “Send as new”.

I might be getting old but at nearly 73 not yet losing it!

This what the fix I provided earlier does. It allows editing earlier saved draft in Usermin.

Also I only see green button with Send Mail label in all cases. If you don’t please provide the screenshot of what you see.

IIia. note what you replied to there was off topic (I did say) it was Thunderbird images.

I am yet to find that code correction in the VS and apply it, sorry been a bit hectic here today.

Screen shots from Usermin

then opening it

then “Edit as New”

If you apply my previous patch, you will be able to edit message as new correctly.

Again Tx, there just hasn’t been time yet today.
I will try to do it later today and hopefully the send button will appear and it will be moved out of Draft into “Sent mail” I will report back.

  • found the file /usr/share/usermin/mailbox/reply_mail.cgi
  • applied the patch
  • stopped and restarted usermin
  • went in as the user
  • the “Edit as new” now shows the message not as an “attachment” and Send sent it.

It now is listed in “Sent mail”
But still there in “Draft”

Are you saying that draft isn’t getting deleted after the mail was sent?

Yes

have even created a new test message on behalf of user it went to the user went to the recipient a user on another VS and it was a scheduled email (I was attempting to reproduce the original problem) but it went as expected has been received by at least one recipient went into “Sent mail” and has not got stuck in “Draft” - perhaps that patch has alo fixed the original problem?

Perhaps I could just delete the original one stuck in “Draft” and concentrate on the alias tables problem - other topic?

@Jamie, why don’t we delete the draft message if later the message from the draft was sent successfully?

Good question! I guess I just implemented it like that a long time ago, and at this point changing it would probably confuse users…

Your full of new ideas … hang around more I say … :rofl:

I vote change the behaviour , I have never seen a email hang around after it has been successfully sent. No one would be confused for the reason just given.

Michael

I am not wanting to change standard practice.
The real problem here is that it happened when this user first went in to send the message (using schedule) it ended up in “Draft”. That is ok if that is the standard planned practice. But then Why didn’t that happen with mt test mail from the account yesterday?

Something has changed!
The only change I can see is that I applied the patch.

Did something else happen with the first message that prevented it going out temporarily that meant it was suspended in “Draft”

If it is normal practice to put a message in “Draft” why isn’t everyone complaining that “box” is overflowing?

I guess most people don’t have a huge number of draft emails?

Stupid question but why is there not a folder in Usermin mail that is called Scheduled like there is Drafts, Spam, Search Results etc.
To me it would make more sense to place scheduled messages into a special Scheduled folder rather than Drafts. I believe you can see the scheduled messages when you select email from within the Usermin tab (I have Mail and Usermin tabs set up) but I don’t see them in my standard Mail Tab.

Maybe there is some way to move this to the Email tab?
If I want to view or edit a scheduled Email it would be way easier to just open it from the Scheduled folder (if it existed).
If it doesn’t get sent for some reason you would still find it in Scheduled and deal with it from there.
Just my 2 cents worth.

That’s actually a really good idea! We haven’t implemented scheduled emails like gmail has yet, but we certainly could in future …

I would agree but the problem here is that the original message went into “Draft” for no clear apparent reason - it was actually sent. (eventually according to recipient) but still sits there in “Draft”

My test message after patch (also scheduled 15mins IIRC) may have passed through “Draft” without me noticing but was quickly removed from “Draft” after the message was sent (and probably moved into “Sent mail”).

Your Usermin seems quite different from mine


Not only do I have a “Drafts” regardless of it containing messages
But what is the difference between "Sent and “Sent mail”?

Drafts and Inbox appear to be Special Folders which is what I would define Scheduled to be as well. I would expect that if something like this was set up coding would change the behaviour of the delivery of scheduled messages so they may not be put into Draft, although whenever any message is created I believe it uses Draft as a temp storage area. In your original case maybe some glitch in the delivery process put it into edit mode during the send process so instead of completing the send it pushed it back into Draft mode? Of course this is only me speculating on something I really don’t know. If the Send as New function worked properly you could have just used it to resend from Drafts but it appeared to add the original message as an attachment instead. If I understand correctly I believe that issue has been fixed?
My only concern with that is that if you expected a scheduled to be sent on its schedule you may not notice a failed message in your Drafts folder. I would think that if there was a special scheduled message that did not meet its schedule delivery time that a flag would be set that the user would notice.

Not sure about the Sent Mail and Sent folders. My guess is that they are folders that were created or edited by the user. I know in the Thunderbird Client which is what I use most I can specify the folder where I want Sent mail to go. Maybe in the Usermin preferences there is something like that? I haven’t checked lately.
I do know that I had played around with these years ago when I was trying to get a handle on how the different email clients handled folders but I can’t remember what I did exactly and I may have changed folder names etc.

Oh, just in case you didn’t notice the image I sent was the view of the Usermin tab not the Mail tab. My Mail tab looks quite similar to yours except mine has a lot more user created folders.

I would guess ‘sent’ is a folder that a mail client has created