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
Commits
49325e7c
Commit
49325e7c
authored
4 years ago
by
Igor Markin
Browse files
Options
Downloads
Plain Diff
Merge branch 'update-readme' into 'master'
Update README.md See merge request
!23
parents
83c3e31a
572a9a7b
No related branches found
No related tags found
1 merge request
!23
Update README.md
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+12
-7
12 additions, 7 deletions
README.md
with
12 additions
and
7 deletions
README.md
+
12
−
7
View file @
49325e7c
...
@@ -29,15 +29,20 @@ https://code.vereign.com/light/documentation/-/blob/master/Validation.md#normali
...
@@ -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>`
.
-
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>`
-
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.
-
`sent.eml`
contains MIME string console logged by integrator application (Outlook Add-in/Chrome Extension) during the sending routine.
-
`received.eml`
contains MIME string extracted manually from email client or logged by the integrator application.
**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.
-
For outlook.com - extract MIME string by logging it in the Outlook Add-in itself, or using Outlook Desktop client.
_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:**
Do not do export MIME via the web client using
`Show message source`
action.
_Don't copy contents provided by just
`Show original`
action because they miss base64 strings of the attachments_
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:
-
Create three test suites to cover html, plain and htmltext (pseudoplain) normalisation. E.g:
-
`html-outlook-gmail.test.ts`
-
`html-outlook-gmail.test.ts`
-
`plain-outlook-gmail.test.ts`
-
`plain-outlook-gmail.test.ts`
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment