vtiger Forum Index vtiger
The Honest Open Source CRM
 

Fix: Emails are not added with the correct creation date
Click here to go to the original topic

 
       vtiger Forum Index -> Thunderbird Extension
Previous topic :: Next topic  
Author Message
yokomaka



Joined: 02 Nov 2007
Posts: 9
Location: Germany

Posted: Wed Nov 14, 2007 9:22 pm    Post subject: Fix: Emails are not added with the correct creation date  

The current thunderbird-extension attaches emails to vtiger with the current date. Instead the creation date of the emails should be used.

This can easily be fixed by changing the following code in the file "vtiger.js" (part of vtiger.jar archive)

Change the line:
Code: oDate = new Date();
to:
Code: oDate = new Date(srcMsgHdr.date / 1000);
Back to top  
dah62



Joined: 25 Nov 2008
Posts: 5

Posted: Wed Nov 26, 2008 1:29 pm    Post subject: Re: Fix: Emails are not added with the correct creation date  

Sounds like a great solution.

Excuse my ignorance (we all have to start learning somewhere I guess!) but where do I find the vtiger.jar archive that you refer to?

Many thanks.
Back to top  
yokomaka



Joined: 02 Nov 2007
Posts: 9
Location: Germany

Posted: Thu Nov 27, 2008 8:39 am    Post subject: Re: Fix: Emails are not added with the correct creation date  

The location of vtiger.jar depends a bit on the OS that you use, on my computer it's located in: Library/Thunderbird/Profiles/default/extensions/{...}/chrome
Back to top  
dah62



Joined: 25 Nov 2008
Posts: 5

Posted: Fri Nov 28, 2008 1:02 pm    Post subject: Re: Fix: Emails are not added with the correct creation date  

Thank you!
Back to top  
 
       vtiger Forum Index -> Thunderbird Extension
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.15 © 2001, 2002 phpBB Group