Code Monkey home page Code Monkey logo

gmail-archiver's Introduction

Gmail Archiver

L'application Gmail archiver permet de déplacer automatiquement tous les vieux mails d'une boite Gmail vers une autre boite Gmail (ou équivalent en IMAP). Le but est de gagner de la place dans la boite principale tout en ayant toujours accès aux emails en ligne.

Pré-requis

  • Activer IMAP sur chaque compte GMAIL
  • Créer un mot de passe d'application pour chaque compte GMAIL
  • PHP 8.0 update-alternatives --set php /usr/bin/php8.0
  • Extensions Imap, MbString, Iconv aptitude install php8.0-imap php8.0-iconv php8.0-mbstring

Installation

  • composer install

Configuration

Modifier le fichier config.php

<?php
return [
    'from' => [
        'host'     => 'imap.gmail.com',
        'login'    => '[email protected]',
        'password' => '****************'
    ],
    'to'   => [
        'host'     => 'imap.gmail.com',
        'login'    => '[email protected]',
        'password' => '****************'
    ],
    'before' => '2012-01-01',
    'since'  => '2010-01-01',
];

Lancer le transfert

  • php run.php

Builder un release distribuable

Créer un TAG dans GIT (Ex : 1.0.2) puis lancer la commande, elle va créer un zip dans le dossier build

  • ./release.sh

FAQ

Licence

MIT - Arnaud Lemercier [email protected]

gmail-archiver's People

Contributors

arnolem avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.