Skip to content

Commit

Permalink
Improved generating Message-ID.
Browse files Browse the repository at this point in the history
  • Loading branch information
petersirka committed Mar 4, 2024
1 parent 9f56ba8 commit 44f54bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mail.js
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ Mailer.prototype.$writemessage = function(obj, buffer) {

message.push('MIME-Version: 1.0');
buffer.push('MAIL FROM: <' + msg.address_from.address + '>');
message.push('Message-ID: <total4_' + dt.toString(36) + '_' + (INDEXATTACHMENT++) + '_' + (INDEXATTACHMENT) + '>');
message.push('Message-ID: <total4X' + dt.toString(36) + 'X' + (INDEXATTACHMENT++) + 'X' + (INDEXATTACHMENT) + '>');

self.$priority && message.push('X-Priority: ' + self.$priority);
self.$confidential && message.push('Sensitivity: Company-Confidential');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "total4",
"version": "0.0.96-1",
"version": "0.0.96-2",
"description": "Total.js framework v4",
"main": "index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit 44f54bb

Please sign in to comment.