Skip to content
Snippets Groups Projects
Commit 572a9a7b authored by Igor Markin's avatar Igor Markin
Browse files

Update README.md

parent a2cc7d2b
Branches
Tags
1 merge request!23Update README.md
...@@ -29,16 +29,20 @@ https://code.vereign.com/light/documentation/-/blob/master/Validation.md#normali ...@@ -29,16 +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 console logged by integrator application during the sending routine. **(Before seal actually being attached to MIME)** - `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. - `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, or using Outlook Desktop client. - 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.** **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. - 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:** 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`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment