Wednesday, November 5, 2008

Attachment Reminder Bug in Thunderbird

Do you usually forget to attach the assignments in emails? If the answer is yes, you don't have to worry about that problem any more. Because I am working on the bug 244455. This bug reminds the user to attach the file when the user clicks the "send" button.

Currently, I have find the function in which ,probably, I am going to add the javascript code.The function is GenericSendMessage. This function validates all the fields *required* to be validated in the composeMessage Window. So, I think this function is the best place to validate the body of the email and look for some keywords such as "attach", "PFA" and so on. If the body contains such words, Thunderbird will check if there is an attachment. If not, then Thunderbird will remind the user to attach an attachment.

What I am further looking for is the user can add keywords in the list of keyword that Thunderbird will search in body of the email.

In progress of the release I had found an extension which does the same thing. But David found that I am not allowed to look at it's code as it is licensed under GPL3. If I would be allowed to take a look at the code, it would be easier to complete the task.

Plus, I need your help to list all the keywords. Please add your keyword and your name in contributors here. http://zenit.senecac.on.ca/wiki/index.php/User:Attachment_Reminder#List_OF_Keywords


Thank You



2 comments:

Gijs said...

Hi!

How are you planning to deal with localizations? I write most of my mail in Dutch, and would never use the word "attach". I don't think one repository including keywords from all languages would be very useful, and it probably won't be very efficient, either. But I do want to be reminded about attaching my attachments to my mail, even when I'm writing in Dutch.

Best,
Gijs

chinmay said...

In fact, I have no Idea, right now, How I am going to do that. Let me know if you have any suggestions. However, Thank you very much for your suggestion. I'll try my best to satisfy your requirements.

Followers