Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
MIME Normalizer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Code
JS Toolbox
MIME Normalizer
Merge requests
!23
Update README.md
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update README.md
update-readme
into
master
Overview
0
Commits
3
Pipelines
0
Changes
1
Merged
Igor Markin
requested to merge
update-readme
into
master
4 years ago
Overview
0
Commits
3
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
version 2
a2cc7d2b
4 years ago
version 1
9978212b
4 years ago
master (base)
and
latest version
latest version
572a9a7b
3 commits,
4 years ago
version 2
a2cc7d2b
2 commits,
4 years ago
version 1
9978212b
1 commit,
4 years ago
1 file
+
12
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
README.md
+
12
−
7
Options
@@ -29,15 +29,20 @@ https://code.vereign.com/light/documentation/-/blob/master/Validation.md#normali
-
Create a directory for .eml files. Use the next structure as an example
`__tests__/files/outlook-gmail/chrome-chrome/<test-case-dir>`
.
-
Put
`sent.eml`
and
`received.eml`
files into the
`<test-case-dir>`
-
`sent.eml`
contains MIME string logged by integrator application during the sending routine.
-
`received.eml`
contains MIME string extracted manually from email client or logged by the integrator application.
-
`sent.eml`
contains MIME string console logged by integrator application (Outlook Add-in/Chrome Extension) during the sending routine.
**IMPORTANT NOTE:**
log MIME before seal actually being attached to email
-
`received.eml`
contains MIME string extracted manually from email client or console logged by the integrator application.
For outlook.com - extract MIME string by logging it in the application itself.
_Do not do export MIME via the web client using
`Show message source`
action.
It breaks spacing of the quoted-printable parts and parsing/validation of such MIME might fail._
-
For outlook.com - extract MIME string by logging it in the Outlook Add-in itself, or using Outlook Desktop client.
For mail.google.com - use
`Show original`
->
`Download original`
actions in web client.
_Don't copy contents provided by just
`Show original`
action because they miss base64 strings of the attachments_
**IMPORTANT NOTE:**
Do not do export MIME via the web client using
`Show message source`
action.
It breaks spacing of the quoted-printable parts and parsing/validation of such MIME might fail.
- For mail.google.com - use `Show original` -> `Download original` actions in web client.
**IMPORTANT NOTE:** Don't copy contents provided by just `Show original` action because they miss base64 strings of the attachments
-
Create three test suites to cover html, plain and htmltext (pseudoplain) normalisation. E.g:
-
`html-outlook-gmail.test.ts`
-
`plain-outlook-gmail.test.ts`
Loading