jeevatkm / ReplyWithHeader

Quoting Outlook style headers and Signatures for Mail.app
https://myjeeva.com/replywithheader
MIT License
64 stars 7 forks source link

Problem with ReplyWithHeader #62

Closed Sam26 closed 10 years ago

Sam26 commented 10 years ago

Hello,

My configuration is: OS X 10.9.3 Mail software version is: 7.3

I installed ReplyWithHeader v4.4 for use with MAIL. The installation went well and I have access preferences MAIL at the interface of RWH. But can not be used in reality MAIL. When RWH is installed in MAIL, I am unable to reply to a message, reply all to a message, forward a message. Nothing happens, I do not even get an error message.

So I tried several settings in the preferences of RWH and I observed that blocking occurs when the "Outlook Mail order" button and "Outlook Mail label" were selected.

I then uninstalled v4.4 ReplyWithHeader to reinstall the v4.5 release. And then the same problem. So I turn around.

Could you help me solve this problem?

Thank you in advance for your help.

Sam

jeevatkm commented 10 years ago

Can you please have a look in the Console.app? to see any error message about Mail or RWH plugin.

jeevatkm commented 10 years ago

I have replied for your email. however it is not delivered. I got a failure notification from server.

Anyway we can continue our troubleshooting in this thread?

This message was created automatically by mail delivery software. 
A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. 
atika.mokhfi@orange.com Invalid Address, ERROR_CODE :550, ERROR_CODE :5.1.1 : Recipient address rejected: User unknown 
Received:from [10.206.1.180] (216.52.219.150 [216.52.219.150]) by mx.zohomail.com 
    with SMTPS id 1401995700848752.2874730838804; Thu, 5 Jun 2014 12:15:00 -0700 (PDT) 
Message-ID: 
Date:Thu, 5 Jun 2014 12:14:59 -0700 
From:"Jeevanandam M."  
To:Atika MOKHFI  
Subject:RE: Problem with ReplyWithHeader 
Content-Type:text/plain; charset=us-ascii
Sam26 commented 10 years ago

Thank you for your reply.

Curious , the error on the mail message because I received yet .

1/ Anyway here is the console screen during installation of RWH v4.5 : Last login: Thu Jun 5 4:17:10 p.m. on ttys000 You have mail . / Users/Atika/Desktop/ReplyWithHeader-v4.5-beta/Install-or-Upgrade-or-Reenable.command ; exit; pc2 : ~ $ Atika / Users/Atika/Desktop/ReplyWithHeader-v4.5-beta/Install-or-Upgrade-or-Reenable.command ; exit;

RWH :: Mac OS X version 10.9 RWH :: Mail Plugin: ReplyWithHeader RWH :: Mail.app 7.3 [ Build 1878.2 ]

RWH :: Installing ReplyWithHeader Mail plugin RWH :: user ' Atika ' is Installing plugin RWH :: Enabling Support in Mail.app plugin RWH :: Domain is / Users / Atika / Library / Containers / com.apple.mail / Data / Library / Preferences / com.apple.mail.plist RWH :: Adding UUID F4C26776 - 22B3 - 4A0A - 96E1 - EA8E4482E0B5 RWH :: Installation Complete

================================================== = Plugin Installation completed , restart Mail.app ================================================== = logout

[ Operation completed ]


2/ Now the screen Console.app after installing RWH in MAIL:

Mail 05/06/2014 22:41:46,419 [13832]: ReplyWithHeader v4.5-beta plugin loaded


3/ At last here is the screen Console.app after an attempt to respond to an email with the software MAIL: Mail 05/06/2014 22:48:41,624 [13832]: *\ - [__NSArrayM objectAtIndex:]: index 1 beyond bounds [0 .. 0]

05/06/2014 22:48:41,756 Mail[13832]: ( 0 CoreFoundation 0x00007fff8e87625c exceptionPreprocess + 172 1 libobjc.A.dylib 0x00007fff91c84e75 objc_exceptionthrow + 43 2 CoreFoundation 0x00007fff8e7545a5 -[NSArrayM objectAtIndex:] + 245 3 ReplyWithHeader 0x000000011102aa7b ReplyWithHeader + 10875 4 ReplyWithHeader 0x000000011102a209 ReplyWithHeader + 8713 5 ReplyWithHeader 0x000000011102bf98 ReplyWithHeader + 16280 6 ReplyWithHeader 0x000000011102d65e ReplyWithHeader + 22110 7 Mail 0x000000010f131ebf Mail + 614079 8 CoreFoundation 0x00007fff8e761a5c invoking + 140 9 CoreFoundation 0x00007fff8e7618c4 -[NSInvocation invoke] + 308 10 MailCore 0x00007fff8e257448 -[MCThrowingInvocationOperation main] + 40 11 MailCore 0x00007fff8e203578 -[MCMainThreadInvocationOperation main] + 55 12 Foundation 0x00007fff9495b13e NSThreadPerformPerform + 229 13 CoreFoundation 0x00007fff8e7a7661 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17 14 CoreFoundation 0x00007fff8e798d12 CFRunLoopDoSources0 + 242 15 CoreFoundation 0x00007fff8e79849f CFRunLoopRun + 831 16 CoreFoundation 0x00007fff8e797f25 CFRunLoopRunSpecific + 309 17 HIToolbox 0x00007fff987dba0d RunCurrentEventLoopInMode + 226 18 HIToolbox 0x00007fff987db7b7 ReceiveNextEventCommon + 479 19 HIToolbox 0x00007fff987db5bc _BlockUntilNextEventMatchingListInModeWithFilter + 65 20 AppKit 0x00007fff96e9826e _DPSNextEvent + 1434 21 AppKit 0x00007fff96e978bb -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122 22 AppKit 0x00007fff96e8b9bc -[NSApplication run] + 553 23 AppKit 0x00007fff96e767a3 NSApplicationMain + 940 24 libdyld.dylib 0x00007fff948f75fd start + 1 )


That's it.

Thank you in advance for your help. Sam

Sam26 commented 10 years ago

Little extra clarification on the issue. When I close MAIL and then restarted, I find in the "draft" email attempting to reply that did not work folder.

Thank you in advance for your help. Sam

jeevatkm commented 10 years ago

Can I give a debugger enabled version of plugin, so we can figure out what's going on in ur machine?

Sam26 commented 10 years ago

Yes if you want, but it will explain commits install and then uninstall. And could you explain how the debugger works. What information will he pass?

Thank you in advance for your help. Sam

jeevatkm commented 10 years ago

You can download here https://app.box.com/s/490vuuw9ue5ugmmuxuwm

  1. Close Mail.app
  2. Install it
  3. Open Console.app and enter 'Mail' in the right corner
  4. Open up Mail.app
  5. Watch out for console.app with prefix of "Mail: ..............."
  6. Perform reply/forward/new message in Mail.app
  7. Share those log which has "Mail: ............."

Will wait for you!

Sam26 commented 10 years ago

Here is what I get in Console.app after installing "Debbug" and start MAIL and by "reply" to your message (this will be long because there are a lot of posts):

*******************************
06/06/2014 00:02:32,721 Mail[14240]: MailHeader.m: 172 Localized String locale: fr key: STRING_SEARCH_PREFIX_SUBJECT_REPLY value: Re: 
*******************************
06/06/2014 00:02:32,722 Mail[14240]: MailHeader.m: 172 Localized String locale: fr key: STRING_REPLACE_PREFIX_SUBJECT_REPLY value: RE: 
*******************************
06/06/2014 00:02:32,723 Mail[14240]: MailHeader.m: 172 Localized String locale: fr key: STRING_SEARCH_PREFIX_SUBJECT_FWD value: Fwd: 
*******************************
06/06/2014 00:02:33,552 Mail[14240]: MailHeader.m: 172 Localized String locale: fr key: STRING_SEARCH_PREFIX_SUBJECT_REPLY value: Re: 
*******************************
06/06/2014 00:02:33,553 Mail[14240]: MailHeader.m: 172 Localized String locale: fr key: STRING_REPLACE_PREFIX_SUBJECT_REPLY value: RE: 
*******************************
06/06/2014 00:02:33,553 Mail[14240]: MailHeader.m: 172 Localized String locale: fr key: STRING_SEARCH_PREFIX_SUBJECT_FWD value: Fwd: 
*******************************
06/06/2014 00:02:33,572 Mail[14240]: MHMailMessage.m: 90 Account ID: MH-S-96AC865F-F87A-474C-8B29-0264CFBFF9F3, Name: ORANGE, Signature ID: F933AC5D-1E44-48BC-A708-F92A3118D0E0
*******************************
06/06/2014 00:02:33,707 Mail[14240]: MHMailMessage.m: 90 Account ID: MH-S-96AC865F-F87A-474C-8B29-0264CFBFF9F3, Name: ORANGE, Signature ID: F933AC5D-1E44-48BC-A708-F92A3118D0E0
*******************************
06/06/2014 00:02:33,708 Mail[14240]: MHMailMessage.m: 90 Account ID: MH-S-96AC865F-F87A-474C-8B29-0264CFBFF9F3, Name: ORANGE, Signature ID: F933AC5D-1E44-48BC-A708-F92A3118D0E0
*******************************
06/06/2014 00:02:33,740 Mail[14240]: MHMailMessage.m: 90 Account ID: MH-S-96AC865F-F87A-474C-8B29-0264CFBFF9F3, Name: ORANGE, Signature ID: F933AC5D-1E44-48BC-A708-F92A3118D0E0
*******************************
06/06/2014 00:02:33,966 Mail[14240]: MHMailMessage.m: 49 Message compose type is 1
*******************************
06/06/2014 00:02:33,966 Mail[14240]: MHQuotedMailOriginal.m: 157 Mail Document: 
*******************************
06/06/2014 00:02:33,967 Mail[14240]: MHQuotedMailOriginal.m: 158 Composing message type is 1
*******************************
06/06/2014 00:02:33,967 Mail[14240]: MHQuotedMailOriginal.m: 159 Complete HTML string 
Bien cordialement,
-----
Atika MOKHFI
Mob. : 06 11 14 26 84




Le 5 juin 2014 à 23:53, Jeevanandam M. <notifications@github.com> a écrit :

You can download here https://app.box.com/s/490vuuw9ue5ugmmuxuwm

  1. Close Mail.app
  2. Install it
  3. Open Console.app and enter 'Mail' in the right corner
  4. Open up Mail.app
  5. Watch out for console.app with prefix of "Mail: ..............."
  6. Perform reply/forward/new message in Mail.app
  7. Share those log which has "Mail: ............."

Will wait for you!


Reply to this email directly or view it on GitHub.


******************************* 06/06/2014 00:02:33,968 Mail[14240]: MHQuotedMailOriginal.m: 209 Composing mail isHTMLMail YES ******************************* 06/06/2014 00:02:33,969 Mail[14240]: MHQuotedMailOriginal.m: 213 initVars Header border text:
******************************* 06/06/2014 00:02:33,969 Mail[14240]: MHHeaderString.m: 163 From User defaults choosenLocaleIdentifier fr ******************************* 06/06/2014 00:02:33,970 Mail[14240]: MHHeaderString.m: 168 Fallback to default value of choosenLocaleIdentifier fr ******************************* 06/06/2014 00:02:33,974 Mail[14240]: MHHeaderString.m: 181 Original headers ( "Date: 5 juin 2014 23:53:52 UTC+2", "", "" ) ******************************* 06/06/2014 00:02:33,974 Mail[14240]: MHHeaderString.m: 182 Original headers count 3 ******************************* 06/06/2014 00:02:33,974 Mail[14240]: MailHeader.m: 55 Current Locale Identifier: fr ******************************* 06/06/2014 00:02:33,975 Mail[14240]: MHHeaderString.m: 145 Mail Header Order mode: 2 and Label mode: 2 ******************************* 06/06/2014 00:02:33,975 Mail[14240]: MailHeader.m: 80 Supported Localization ( de, en, es, fr, it, ja, ko, nb, nl, "pt-PT", pt, ru, sv, uk, "zh-Hans", "zh-Hant" ) ******************************* 06/06/2014 00:02:33,975 Mail[14240]: MailHeader.m: 172 Localized String locale: fr key: PLUGIN_NAME value: ReplyWithHeader ******************************* 06/06/2014 00:02:33,976 Mail[14240]: MailHeader.m: 84 ReplyWithHeader v4.5-beta - Is locale supported: YES ******************************* 06/06/2014 00:02:33,976 Mail[14240]: MailHeader.m: 172 Localized String locale: fr key: STRING_SUBJECT value: Objet ******************************* 06/06/2014 00:02:33,978 Mail[14240]: *** -[__NSArrayM objectAtIndex:]: index 1 beyond bounds [0 .. 0] ******************************* 06/06/2014 00:02:33,992 Mail[14240]: ( 0 CoreFoundation 0x00007fff8e87625c __exceptionPreprocess + 172 1 libobjc.A.dylib 0x00007fff91c84e75 objc_exception_throw + 43 2 CoreFoundation 0x00007fff8e7545a5 -[__NSArrayM objectAtIndex:] + 245 3 ReplyWithHeader 0x000000011087da2a -[MHHeaderString applyHeaderOrderChange] + 650 4 ReplyWithHeader 0x000000011087ccd0 -[MHHeaderString applyHeaderLabelOptions] + 480 5 ReplyWithHeader 0x000000011087faff -[MHQuotedMailOriginal insertMailHeader:] + 143 6 ReplyWithHeader 0x00000001108821f7 -[MHMailMessage MH_continueToSetupContentsForView:withParsedMessages:] + 423 7 Mail 0x000000010e983ebf Mail + 614079 8 CoreFoundation 0x00007fff8e761a5c __invoking___ + 140 9 CoreFoundation 0x00007fff8e7618c4 -[NSInvocation invoke] + 308 10 MailCore 0x00007fff8e257448 -[MCThrowingInvocationOperation main] + 40 11 MailCore 0x00007fff8e203578 -[MCMainThreadInvocationOperation main] + 55 12 Foundation 0x00007fff9495b13e __NSThreadPerformPerform + 229 13 CoreFoundation 0x00007fff8e7a7661 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 14 CoreFoundation 0x00007fff8e798d12 __CFRunLoopDoSources0 + 242 15 CoreFoundation 0x00007fff8e79849f __CFRunLoopRun + 831 16 CoreFoundation 0x00007fff8e797f25 CFRunLoopRunSpecific + 309 17 HIToolbox 0x00007fff987dba0d RunCurrentEventLoopInMode + 226 18 HIToolbox 0x00007fff987db7b7 ReceiveNextEventCommon + 479 19 HIToolbox 0x00007fff987db5bc _BlockUntilNextEventMatchingListInModeWithFilter + 65 20 AppKit 0x00007fff96e9826e _DPSNextEvent + 1434 21 AppKit 0x00007fff96e978bb -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122 22 AppKit 0x00007fff96e8b9bc -[NSApplication run] + 553 23 AppKit 0x00007fff96e767a3 NSApplicationMain + 940 24 libdyld.dylib 0x00007fff948f75fd start + 1 ) *******************************

That by "reply". Now you want me to do forward?

Thank you in advance for your help. Sam

Sam26 commented 10 years ago

Curiously, when I made reply that a new message is open, but no header will appear. But now it is impossible to close the message reply (even by command + w or by clicking on the red button).

I have to force MAIL to leave with the combination: control + alt + esc, because the reply message does not close at all.

jeevatkm commented 10 years ago

@Sam26 Will go through the given log information and let you know. Not to worry I will try to find out what's going wrong.

jeevatkm commented 10 years ago

Just a question, is it happening for every email message or is it for particular email message?

Sam26 commented 10 years ago

I could not test if it was happening for a single message or multiple, because the message "reply" blocking all attempts fermerture and responses to other messages.

I have to reboot MAIL, and now again this "reply" no longer works and departure. I try to respond to several messages and nothing happens.

Thank you in advance for your help. Sam

Sam26 commented 10 years ago

It's late in France, soon 1am. So I told you tomorrow (French time) if you find a solution to this problem.

In the meantime, thank you again for your help. Sam

jeevatkm commented 10 years ago

Fine Sam, please go to bed. Will try to find out. By the way is possible to send some emails to me (non-confidental one) as an attachment? So I can use it for my test.

Good night, have a nice sleep!

jeevatkm commented 10 years ago

Thanks Sam for sample email, I will let you know once my analysis is done.

jeevatkm commented 10 years ago

Sam, I have tested with sample email you have provided. It seems plugin is doing fine. Unable to figure out what's wrong.

How about having screen share of your machine? it might help me to understand the issue. Also I have added few log statements for improved debugging and checks for locale in this version https://app.box.com/s/490vuuw9ue5ugmmuxuwm

Please download and install.

Sam26 commented 10 years ago

Thank you for your last debugg. I downloaded and installed.

Installation: OK no problem. Using MAIL with the latest debugg:

1 / Click on Reply or Reply all or Forward> OK, no more blocking.

But the headers are not good, this is what I get: Date posted: June 3, 2014 0:55:17 UTC +2

2 / Click on New Message or Redirect> OK, no more blocking.

Here no header will appear, which is normal for "new message". But not for Redirect, it seems.

I verified in the preferences of RWH. And "Outlook Mail order" and "Outlook Mail label" buttons are well checked yet.

We have already taken a step forward to unlocking the problem for the use of RWH. But unfortunately RWH is useless if the headers like Outlook do not work for _fr locale_...

Do you have any last idea to help resolve this?

Anyway thank you very much for your help.

Sam

jeevatkm commented 10 years ago

@Sam26 Good to hear the progress of it. I'm putting my understanding below.

  1. You have provided sample email, that works fine. I have verified using Mail.app application in _fr locale_ mode, not complete machine in _fr locale_
  2. Actually I have a guess, where problem might be. For e.g.: if email message has header then it will process successfully. So if email message doesn't have proper header internally while receiving, it may not be processed

We can do screen sharing from you machine tomorrow, you can show the issues live to me along with Console.app log information. It will help me to figure out.

Once you're ready, we can do live screen sharing.

Sam26 commented 10 years ago

Ok for screen sharing with TeamViewer (this software is free): http://www.teamviewer.com/en/index.aspx

Send me an email directly to my home address when you are ready so that I answer you directly to your private mail telling you the ID and password for this sole session sharing my screen.

You will have hands on my computer to make the necessary checks and I can follow what you are doing to understand or is the last problem.

Sam

Sam26 commented 10 years ago

Hello,

As there is much of a problem with the Mail software for use close to the Outlook software, even outside of RWH. So I quit the Mail software to return to the Outlook 2011 software Mac version. Because I have no time to lose with rélgalges deu Mail software. Sorry.

A big thank you for your help. I hope RWH works well on other Macintosh. Sam

jeevatkm commented 10 years ago

@Sam26 I live in Los Angeles, US. Just got up, due to time zone difference it was difficult to synchronize.

Shall we do it screen sharing now?