Don
Faire un don pour aider au developpement de WiPhA

Recherche




Préférences

 Nombre de membres 29 membres


Utilisateurs en ligne

( personne )
Visites

 147719 visiteurs

 9 visiteurs en ligne

forum.gifForum - Yamb - Sujet n°15


Sujet n°15 Added mail body to list of arguments
    par hp - visiteur
le 28/10/2005 @ 20:14
Anonyme
I have modified your (great) extension a bit, so to get the mail body as an argument as well. I you find this useful just tell me where to upload.
Ecrire à hp Poster une réponse



Réponse n°1 par Globs - rank ( 38 messages )
le 28/10/2005 @ 22:35
Globs
Oh yes, I find it very useful. And it has already been asked by other users. That would be great.
One problem though: How does your modification deal with IMAP accounts, when the mail body is not retrieved ?

I have no place to upload. You can mail it to me or tell me where to download.
Site web Globs Ecrire à Globs Poster une réponse

Haut

Réponse n°2 par Globs - rank ( 43 messages )
le 01/11/2005 @ 22:48
Globs
More difficult that I thought:
  • the body retrieved is the raw body from the inbox file. This includes encoded attached part, plain/html multipart text, attached forwarded mails an so o­n. I implemented a simple parser to get the text part of the body, it seems to work pretty well, but the body may have so many differents aspects (generated by so many different Email clients) that I'm really not sure it will work fine for all messages.
  • The encoding of the text may also change: 7 bits can be displayed 'as is', but I can't decode UTF8 for instance.
  • The maximum length of a command line may be reached with a large message, which would lead to no notification. As no error is returned, I don't know how to dynamicaly get this limit (it probably depends o­n the OS).
The best way would be to use a Thunderbird API function to do all the work. I searched in the code but did not find it. If someone has a clue, he's welcome...

Site web Globs Ecrire à Globs Poster une réponse

Haut

^ Haut ^

Site non déclaré à la CNIL dans le cadre de la dispense n°6
Vous disposez d'un droit d'accès, de modification, de rectification et de suppression des données qui vous concernent via votre profil.
GuppY - http://www.freeguppy.org/    Site créé avec GuppY v4.5.14 © 2004-2005 - Licence Libre CeCILL   GuppY - http://www.freeguppy.org/

Document généré en 0.08 seconde