Hastymail2

Hastymail2 is an Open Source IMAP webmail client written in PHP. Our focus is compliance, usability, security, and speed.

Hastymail 2

avatar
can't delete message

hello

when i click the checkbox of a message and click on the delete button i have the error : impossible to delete the message

 an idea ?

 

Reply /Quote
avatar
Re: can't delete message

Can you delete the message with another IMAP client? It sounds more like a permission/configuration problem than a bug in Hastymail. What IMAP server are you using? You can get some info about the IMAP server on the about page (click the "Hm2" icon in the upper left of the screen when logged in). There is also a few IMAP debug options in the config file that outputs information about the IMAP server communication below the main display. It could provide a clue if everything else checks out.

Jason 

Reply /Quote
avatar
re

it works with the imap client squirrelmail no probleme to delete a message

this is the information of imap server :

OK [ CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS ] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information

CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION A2 OK CAPABILITY completed

host : localhost

the debug options is true but no clue

help me

Reply /Quote
avatar
re

the debug info sorry :

Debug info

Array ( [0] => Connecting to localhost on port 143 [1] => Successfully opened port to the IMAP server )


Full response data

Array ( [0] => Array ( [0] => * OK [ CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS ] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information. [1] => A1 OK LOGIN Ok. ) [1] => Array ( [0] => * FLAGS ( \Draft \Answered \Flagged \Deleted \Seen \Recent ) [1] => * OK [ PERMANENTFLAGS ( \* \Draft \Answered \Flagged \Deleted \Seen ) ] Limited [2] => * 6 EXISTS [3] => * 1 RECENT [4] => * OK [ UIDVALIDITY 1202125012 ] Ok [5] => * OK [ MYRIGHTS acdilrsw ] ACL [6] => A2 OK [ READ-WRITE ] Ok ) [2] => Array ( [0] => * SEARCH [1] => A3 OK SEARCH done. ) [3] => Array ( [0] => * SORT 360 361 362 363 364 365 [1] => A4 OK SORT done. ) [4] => Array ( [0] => * 6 FETCH ( UID 365 FLAGS ( \Seen \Recent ) INTERNALDATE 21-Oct-2009 16:12:51 +0200 RFC822.SIZE 4773 BODY[HEADER.FIELDS ( SUBJECT FROM DATE CONTENT-TYPE X-PRIORITY TO ) ] From: "Quentin Fountain" <donutyyn273@disc-strategies.com> To: <severine@netavoo.com> Subject: Being hung as a horse is more than possible. Date: Wed, 21 Oct 2009 09:12:37 -0500 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01CA5258.8B2A8620" X-Priority: 3 ) [1] => ) [2] => * 5 FETCH ( UID 364 FLAGS ( \Seen ) INTERNALDATE 21-Oct-2009 16:06:18 +0200 RFC822.SIZE 1534 BODY[HEADER.FIELDS ( SUBJECT FROM DATE CONTENT-TYPE X-PRIORITY TO ) ] Date: Wed, 21 Oct 2009 19:48:08 +0500 From: "Web Casino Stars" <rweyrhks@selfknowledge.com> To: <severine@netavoo.com> Subject: =?iso-8859-1?Q?R=E9clamez_vos_1000_Euros_gratuits_maintenant?= Content-Type: text/plain; charset=iso-8859-1 ) [3] => ) [4] => * 4 FETCH ( UID 363 FLAGS ( \Seen ) INTERNALDATE 21-Oct-2009 16:03:38 +0200 RFC822.SIZE 2300 BODY[HEADER.FIELDS ( SUBJECT FROM DATE CONTENT-TYPE X-PRIORITY TO ) ] From: "Dominic Gardner" <decomposey29@sewwhatsupplies.com> To: <severine@netavoo.com> Subject: =?koi8-r?B?SWYgeW91IHdhbnQgdG8gaGF2ZSBhIGRlc2lnbmVyIHdhdGNoIJYgaGF2?= =?koi8-r?B?ZSBpdC4=?= Date: Wed, 21 Oct 2009 21:02:31 +0700 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01CA5257.2180C500" X-Priority: 3 ) [5] => ) [6] => * 3 FETCH ( UID 362 FLAGS ( \Seen ) INTERNALDATE 21-Oct-2009 15:59:17 +0200 RFC822.SIZE 5364 BODY[HEADER.FIELDS ( SUBJECT FROM DATE CONTENT-TYPE X-PRIORITY TO ) ] From: "Stacey Kuo" <pugging_1968@www.jan-mayen.no> To: severine@netavoo.com Subject: Good article on social nets Content-type: text/html; charset=iso-8859-1 Date: Wed, 21 Oct 2009 11:59:01 -0200 ) [7] => ) [8] => * 2 FETCH ( UID 361 FLAGS ( \Seen ) INTERNALDATE 21-Oct-2009 15:56:43 +0200 RFC822.SIZE 2181 BODY[HEADER.FIELDS ( SUBJECT FROM DATE CONTENT-TYPE X-PRIORITY TO ) ] From: "Natalie Yoder" <aldersb9@locksonline.com> To: <severine@netavoo.com> Subject: Inexpensive watches for people who care about their look. Date: Wed, 21 Oct 2009 18:56:30 +0400 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01CA5256.4A6D1B90" X-Priority: 3 ) [9] => ) [10] => * 1 FETCH ( UID 360 FLAGS ( \Seen ) INTERNALDATE 21-Oct-2009 15:53:49 +0200 RFC822.SIZE 2222 BODY[HEADER.FIELDS ( SUBJECT FROM DATE CONTENT-TYPE X-PRIORITY TO ) ] From: "Amado Busby" <doriesrjgw@peppermintcity.com> To: <severine@netavoo.com> Subject: =?koi8-r?B?WW91IHdpbGwgaGF2ZSB0aGUgbW9zdCBmYWJ1bG91cyB3YXRjaCBldmVy?= =?koi8-r?B?IJYgbm8gZG91YnRzLg==?= Date: Wed, 21 Oct 2009 14:53:16 +0000 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01CA5255.D6EEC330" X-Priority: 3 ) [11] => ) [12] => A5 OK FETCH completed. ) [5] => Array ( [0] => * BYE Courier-IMAP server shutting down [1] => A6 OK LOGOUT completed ) )
Reply /Quote
avatar
Re: can't delete message

Thanks for the feedback, I see your IMAP server is courier, which is good to know. I can setup a Courier test environment easily enough. I can't for the life of me determine why the delete is failing. Thanks for posting the debug output, but what I really need is the debug output on the page that loads after you try to delete a message. That should contain the exact command that Hastymail is using as well as the exact response from Courier. Hopefully that will shed some light on what is going on.

Jason

Reply /Quote
avatar
re

this is the debug info just after the error of delete :

 Debug info

Array ( [0] => Connecting to localhost on port 143 [1] => Successfully opened port to the IMAP server )


Full response data

Array ( [0] => Array ( [0] => * OK [ CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS ] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information. [1] => A1 OK LOGIN Ok. ) [1] => Array ( [0] => * FLAGS ( \Draft \Answered \Flagged \Deleted \Seen \Recent ) [1] => * OK [ PERMANENTFLAGS ( \* \Draft \Answered \Flagged \Deleted \Seen ) ] Limited [2] => * 2 EXISTS [3] => * 0 RECENT [4] => * OK [ UIDVALIDITY 1202125012 ] Ok [5] => * OK [ MYRIGHTS acdilrsw ] ACL [6] => A2 OK [ READ-WRITE ] Ok ) [2] => Array ( [0] => A3 NO Error in IMAP command received by server. ) [3] => Array ( [0] => * FLAGS ( \Draft \Answered \Flagged \Deleted \Seen \Recent ) [1] => * OK [ PERMANENTFLAGS ( \* \Draft \Answered \Flagged \Deleted \Seen ) ] Limited [2] => * 2 EXISTS [3] => * 0 RECENT [4] => * OK [ UIDVALIDITY 1202125012 ] Ok [5] => * OK [ MYRIGHTS acdilrsw ] ACL [6] => A4 OK [ READ-WRITE ] Ok ) [4] => Array ( [0] => * SEARCH [1] => A5 OK SEARCH done. ) [5] => Array ( [0] => * BYE Courier-IMAP server shutting down [1] => A6 OK LOGOUT completed ) )
Reply /Quote
avatar
Re: can't delete message

The debug data and issue is similar to a bug report we had not so long ago:

 http://www.hastymail.org/mantis/view.php?id=104

The solution in that case was to set the imap_folder_prefix to INBOX in the hastymail2.conf file, rebuild the hastymail2.rc file, the login again. What do you have set for the imap_folder_prefix?

Thanks for the feedback,
Jason

Reply /Quote
avatar
re

i hace done it and now it works very wel

thank you very much jason

Reply /Quote
avatar
re

Glad to hear that the problem is solved!

Jason

Reply /Quote
Get Hastymail at SourceForge.net. Fast, secure and Free Open Source software downloads