mirror of
https://github.com/moparisthebest/mail
synced 2025-01-09 04:28:16 -05:00
fix strings and dont add signature to invitation email
This commit is contained in:
parent
92090d6b0e
commit
09999f991a
@ -53,11 +53,11 @@ define(function(require) {
|
||||
subjectPrefix: '[whiteout] ',
|
||||
fallbackSubject: '(no subject)',
|
||||
invitationSubject: 'Invitation to a private conversation',
|
||||
invitationMessage: 'Hi,\n\nI would like to invite you to a private conversation!\n\nPlease install the Whiteout Mail application. This application is used to read and write messages securely with strong encryption applied.\n\nGo to the Whiteout Networks homepage to learn more and to download the application: https://whiteout.io',
|
||||
invitationMessage: 'Hi,\n\nI use Whiteout Mail to send and receive encrypted email. I would like to exchange encrypted messages with you as well.\n\nPlease install the Whiteout Mail application. This application makes it easy to read and write messages securely with PGP encryption applied.\n\nGo to the Whiteout Networks homepage to learn more and to download the application: https://whiteout.io\n\n',
|
||||
message: 'Hi,\n\nthis is a private conversation. To read my encrypted message below, simply open it in Whiteout Mail.\nOpen Whiteout Mail: https://chrome.google.com/webstore/detail/jjgghafhamholjigjoghcfcekhkonijg',
|
||||
cryptPrefix: '-----BEGIN PGP MESSAGE-----',
|
||||
cryptSuffix: '-----END PGP MESSAGE-----',
|
||||
signature: '\n\n\n--\nSent from Whiteout Mail - PGP encryption for the rest of us.\nhttps://whiteout.io\n\n',
|
||||
signature: '\n\n\n--\nSent from Whiteout Mail - Email encryption for the rest of us\nhttps://whiteout.io\n\n',
|
||||
webSite: 'http://whiteout.io',
|
||||
verificationSubject: 'New public key uploaded',
|
||||
sendBtnClear: 'Send',
|
||||
|
@ -225,7 +225,7 @@ define(function(require) {
|
||||
cc: $scope.cc.filter(filterEmptyAddresses),
|
||||
bcc: $scope.bcc.filter(filterEmptyAddresses),
|
||||
subject: $scope.subject.trim() ? $scope.subject.trim() : str.fallbackSubject, // Subject line, or the fallback subject, if nothing valid was entered
|
||||
body: $scope.body.trim(), // use parsed plaintext body
|
||||
body: $scope.body.trim() + (!$scope.sendBtnSecure ? str.signature : ''), // use parsed plaintext body
|
||||
attachments: $scope.attachments
|
||||
};
|
||||
|
||||
|
@ -1052,9 +1052,6 @@ define(function(require) {
|
||||
return;
|
||||
}
|
||||
|
||||
// append the signature to plaintext mails
|
||||
options.email.body += str.signature;
|
||||
|
||||
// mime encode, sign and send email via smtp
|
||||
this._pgpMailer.send({
|
||||
mail: options.email
|
||||
|
Loading…
Reference in New Issue
Block a user