You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

imap-reader

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imap-reader - npm Package Compare versions

Comparing version

to
1.0.7

2

package.json
{
"name": "imap-reader",
"version": "1.0.6",
"version": "1.0.7",
"description": "Returns the header, mail and html information of all messages in the mailbox of the mail you give imap information in array type.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,115 +0,114 @@

��# imap-reader
- Returns the header, mail and html information of all messages in the mailbox of the mail you give imap information in array type.
# Usage
```bash
npm i imap-reader
```
```js
const imapReader = require("imap-reader");
imapReader.read({
user: 'rolikrinau@hotmail.com',
password: 'all7Do61',
host: 'imap-mail.outlook.com',
port: 993,
tls: true
})
.then(response=>{
console.log(response)
})
.catch(err=>{
console.log(err)
})
```
<details>
<summary>Sample Successful Response</summary>
```js
{
"status": true,
"data": {
"inbox_length": 3,
"inbox_data": [
{
"html": "<html data>",
"subject": "Yeni Outlook.com hesab1n1za ho_ geldiniz",
"from": [
{
"address": "no-reply@microsoft.com",
"name": "Outlook Ekibi"
}
],
"to": [
{
"address": "rolikrinau@hotmail.com",
"name": "roli krina"
}
],
"date": "2023-09-23T16:28:53.000Z"
},
{
"html": "<html data>",
"subject": "OpenAI - Verify your email",
"from": [
{
"address": "noreply@tm.openai.com",
"name": "OpenAI"
}
],
"to": [
{
"address": "rolikrinau@hotmail.com",
"name": ""
}
],
"date": "2023-09-23T16:29:00.000Z"
},
{
"html": "<html data>",
"subject": "Test Mail",
"from": [
{
"address": "help@wmaster.net",
"name": "WM AI"
}
],
"to": [
{
"address": "rolikrinau@hotmail.com",
"name": ""
}
],
"date": "2023-09-23T17:11:59.000Z"
}
]
}
}
```
</details>
<details>
<summary>Sample Failed Response</summary>
```js
{
status: false,
data: 'LOGIN failed.'
}
```
</details>
# License
- �&� Its protected by Creative Commons ([CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/))
# imap-reader
- Returns the header, mail and html information of all messages in the mailbox of the mail you give imap information in array type.
# Usage
```bash
npm i imap-reader
```
```js
const imapReader = require("imap-reader");
imapReader.read({
user: 'rolikrinau@hotmail.com',
password: 'all7Do61',
host: 'imap-mail.outlook.com',
port: 993,
tls: true
})
.then(response=>{
console.log(response)
})
.catch(err=>{
console.log(err)
})
```
<details>
<summary>Sample Successful Response</summary>
```js
{
"status": true,
"data": {
"inbox_length": 3,
"inbox_data": [
{
"html": "<html data>",
"subject": "Yeni Outlook.com hesabınıza hoş geldiniz",
"from": [
{
"address": "no-reply@microsoft.com",
"name": "Outlook Ekibi"
}
],
"to": [
{
"address": "rolikrinau@hotmail.com",
"name": "roli krina"
}
],
"date": "2023-09-23T16:28:53.000Z"
},
{
"html": "<html data>",
"subject": "OpenAI - Verify your email",
"from": [
{
"address": "noreply@tm.openai.com",
"name": "OpenAI"
}
],
"to": [
{
"address": "rolikrinau@hotmail.com",
"name": ""
}
],
"date": "2023-09-23T16:29:00.000Z"
},
{
"html": "<html data>",
"subject": "Test Mail",
"from": [
{
"address": "help@wmaster.net",
"name": "WM AI"
}
],
"to": [
{
"address": "rolikrinau@hotmail.com",
"name": ""
}
],
"date": "2023-09-23T17:11:59.000Z"
}
]
}
}
```
</details>
<details>
<summary>Sample Failed Response</summary>
```js
{
status: false,
data: 'LOGIN failed.'
}
```
</details>
# License
- ⚖️ Its protected by Creative Commons ([CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/))