Pete, It's been a couple of years since I played with Symantec PGP, but I do remember that the product will perform various tasks (encryption, signing, PGP-Partitioned vs PGP/MIME, send in the clear) based upon rules that the user can define. One such default rule is the presence of the character string "[pgp]" in the email subject, or in the body of the email - but these are only defaults.
The user can define */any/* string to perform almost any encryption/signing task. He can change the user-friendly defaults. He can even specify that emails of "high importance" should be encrypted and/or signed. I used to use the subject field string "[pgp-m-e]" to encrypt using PGP/MIME and "[pgp-m-s]" to use PGP/MIME and sign - but these are just two of my personal examples. Before you go to a lot of trouble to automate the inclusion of a particular string in the subject field, you should know precisely how your correspondent has configured his rules in his installation of Symantec PGP. He may not be using the default string of "[pgp]". I'm sorry :-( I know that I have not answered your question about how to automate the inclusion of the string you wish to use. Like you, I'm not very experienced in JavaScript or Thunderbird plugins either. Neil Neil D. Donovan Salem, MA 01970-5352 Email: [email protected] <mailto:[email protected]><http://facebook.com/neil.donovan.salem.ma> Access my PGP key <https://dl.dropboxusercontent.com/u/916373/Neil_D_Donovan_PGP_Key.asc> The attached file called *signature.asc* is my PGP/MIME signature for this email. On 3/10/2016 3:05 AM, [email protected] wrote: > Hi, > > I use Enigmail to converse with colleagues that use Symantec PGP > Desktop with Outlook. > > The outlook setup uses "[pgp]" in the subject to decide whether or not > to encrypt an email. > > I would like Enigmail to automatically add "[pgp]" to a subject when > sending so that the outlook users will automatically encrypt when > replying to threads. > > Would it be possible to add an option to add a configurable string to > the subject of encrypted mails? > > In the meantime, I tried hacking it in myself. I tried adding this to > enigmailMsgComposeOverlay.js/encryptInline(): > > if (!gMsgCompose.compFields..subject.match(/\[pgp\]/i)) { > gMsgCompose.compFields.subject += " [pgp]"; > var subj = document.getElementById("msgSubject"); > subj.value = gMsgCompose.compFields.subject; > } > > but it didn't work. I have to admit, I'm not very experienced in > javascript or Thunderbird plugins. > > > Regards, > Pete > > > > > _______________________________________________ > enigmail-users mailing list > [email protected] > To unsubscribe or make changes to your subscription click here: > https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net
signature.asc
Description: OpenPGP digital signature
_______________________________________________ enigmail-users mailing list [email protected] To unsubscribe or make changes to your subscription click here: https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net
