There should be an option to delete an email from IMAP server from the detailview/listview.
Users can Edit, Duplicate, Delete, Reply, Reply All, Forward but not Delete from IMAP.
There should be a button to delete an email from IMAP server.
I also have this issue but have found that if i rename the file: custom/modules/Emails/metadata/listviewdefs.php
and refresh the email screen, my newmail icon refresh etc dissapear but under the bulk actions i get a delete option!
I don't know enough to fix this but thought it might point someone in the right direction?
also does anyone elses attachments show up in listview? mine don't!


This bug also appears on 7.9.4-7.9.7 versions
Any info about this? This bug are present on 7.9.11 too. I need the delete option to clean spam messages from CRM accounts.
I guess we could treat it as Medium Priority, don't you think? In a month it will be its 1st anniversary. And, by the way, the delete option will follow the rules for the security roles?
Happy birthday, issue!
Looking for the same , bulk action of deletion on emails module , any fix?
bug! this should be in high priority!
Version 7.10.7
Sugar Version 6.5.25 (Build 344)
Bug -> cannot delete emails (IMAP server)
for the present time, one person cleanses / deletes the spam manually in the mail program
PS high priority bug is not corrected for a year . . . .
@JohnDuck we also must delete the spam by external program... it's totally weird situation that in LTS 7.8 you have this function, but in latest version doesn't
Also true is that is, that email module has more bigger problems as this one 馃棥 . Filter the bugs by word email and you will see that is more as 200 bugs related to emails :(
This feature is very commented in the forums. I think it should be high priority. @Dillon-Brown can't we add it to the next milestone?
deleting the imported emails on suitecrm from detailview can also delete the email on imap server using before_delete logic hook as ,
Add the before_delete logic hook in emails module,
File Name : custom/modules/Emails/logic_hooks.php
$hook_array['before_delete'] = Array();
$hook_array['before_delete'][] = Array(30, 'Delete the emails from crm to imap server', 'custom/modules/Emails/delEmailCls.php','delEmailCls', 'delEmailFunc');
Add below code in file custom/modules/Emails/delEmailCls.php,
class delEmailCls{
function delEmailFunc(&$bean,$event,$arguments){
require_once('modules/InboundEmail/InboundEmail.php');
$inbouneEmail = new InboundEmail();
$inbouneEmail->retrieve($bean->mailbox_id);
$uid = $bean->uid;
//Deleting the email on mail server also
$inbouneEmail->deleteMessageOnMailServer($uid);
}
}
It working fine :)
@jyotiraghav93 should you create the pull request for it?
ok will do
This issue still going on? coz i cant find the delete options as well.!
Most helpful comment
I guess we could treat it as Medium Priority, don't you think? In a month it will be its 1st anniversary. And, by the way, the delete option will follow the rules for the security roles?