Code Monkey home page Code Monkey logo

cf-imap's Introduction

Hi there, I'm Saviฤs ๐Ÿ‘‹

Who am I?

I am a full-stack developer from Latvia with 5 years of experience. If you want to learn more, go to my website

Contact info ๐Ÿ“ž

My website provides up-to-date contact information.

Wakatime stats

From: 29 April 2024 - To: 06 May 2024

Mason        33 mins         โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   39.96 %
TypeScript   13 mins         โ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   16.16 %
JSON         9 mins          โ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   11.35 %
YAML         8 mins          โ–ˆโ–ˆโ–’โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   09.59 %
JavaScript   7 mins          โ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   08.64 %

cf-imap's People

Contributors

exerra avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

cf-imap's Issues

Multipart emails aren't parsed correctly

Currently there is no multipart parsing implemented in cf-imap.

Example response:

[
  {
    from: 'REDACTED',
    to: 'REDACTED',
    subject: 'cf-imap tests',
    messageID: 'REDACTED',
    contentType: 'text/plain; charset="UTF-8"',
    date: 2024-03-25T20:31:06.000Z,
    raw: '* 3 FETCH (BODY[TEXT] {1076}\n' +
      '------=_Part_4423909_977359486.1711398666114\n' +
      'Content-Type: text/plain; charset="UTF-8"\n' +
      'Content-Transfer-Encoding: 7bit\n' +
      '\n' +
      'bumbas\n' +
      '\n' +
      '\n' +
      '--\n' +
      '\n' +
      'Exerra (exerra.xyz)\n' +
      '\n' +
      'Full-stack developer.\n' +
      '------=_Part_4423909_977359486.1711398666114\n' +
      'Content-Type: text/html; charset="UTF-8"\n' +
      'Content-Transfer-Encoding: 7bit\n' +
      '\n' +
      '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>bumbas</div><div><br></div><div class="zmail_signature_below"><div id="" data-zbluepencil-ignore="true" data-sigid="1646310000000156003"><div><span class="colour" style="color: rgb(153, 153, 153);">--</span><br></div><div><span class="colour" style="color: rgb(153, 153, 153);"><b>Exerra (exerra.xyz)</b><br></span></div><div><span class="colour" style="color: rgb(153, 153, 153);">Full-stack developer.</span><br></div></div></div><div><br>\n' +
      '</div></div><br></body></html>\n' +
      '------=_Part_4423909_977359486.1711398666114--\n' +
      '\n' +
      '\n' +
      ' BODY[HEADER.FIELDS (SUBJECT FROM TO MESSAGE-ID CONTENT-TYPE DATE)] {304}\n' +
      'Date: Mon, 25 Mar 2024 22:31:06 +0200\n' +
      'From: REDACTED\n' +
      'To: REDACTED\n' +
      'Message-Id: REDACTED\n' +
      'Subject: cf-imap tests\n' +
      'Content-Type: multipart/alternative; \n' +
      '\tboundary="----=_Part_4423909_977359486.1711398666114"\n' +
      '\n' +
      ')\n' +
      'A5 OK Fetch completed (0.002 + 0.000 + 0.001 secs).\n',
    body: '* 3 FETCH (BODY[TEXT] {1076}\n' +
      '------=_Part_4423909_977359486.1711398666114\n' +
      'Content-Type: text/plain; charset="UTF-8"\n' +
      'Content-Transfer-Encoding: 7bit\n' +
      '\n' +
      'bumbas\n' +
      '\n' +
      '\n' +
      '--\n' +
      '\n' +
      'Exerra (exerra.xyz)\n' +
      '\n' +
      'Full-stack developer.\n' +
      '------=_Part_4423909_977359486.1711398666114\n' +
      'Content-Type: text/html; charset="UTF-8"\n' +
      'Content-Transfer-Encoding: 7bit\n' +
      '\n' +
      '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>bumbas</div><div><br></div><div class="zmail_signature_below"><div id="" data-zbluepencil-ignore="true" data-sigid="1646310000000156003"><div><span class="colour" style="color: rgb(153, 153, 153);">--</span><br></div><div><span class="colour" style="color: rgb(153, 153, 153);"><b>Exerra (exerra.xyz)</b><br></span></div><div><span class="colour" style="color: rgb(153, 153, 153);">Full-stack developer.</span><br></div></div></div><div><br>\n' +
      '</div></div><br></body></html>\n' +
      '------=_Part_4423909_977359486.1711398666114--\n' +
      '\n' +
      '\n' +
      ' BODY[HEADER.FIELDS (SUBJECT FROM TO MESSAGE-ID CONTENT-TYPE DATE)] {304}\n' +
      'Date: Mon, 25 Mar 2024 22:31:06 +0200\n' +
      'From: REDACTED\n' +
      'To: REDACTED\n' +
      'Message-Id: REDACTED\n' +
      'Subject: cf-imap tests\n' +
      'Content-Type: multipart/alternative; \n' +
      '\tboundary="----=_Part_4423909_977359486.1711398666114"'
  }
]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.