GithubHelp home page GithubHelp logo

nonameasecret / mailserverbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iakashpattnaik/mailserverbot

0.0 0.0 0.0 57 KB

A telegram bot which sends emails directly to you via telegram

License: GNU General Public License v3.0

TypeScript 91.19% Dockerfile 8.32% Shell 0.49%

mailserverbot's Introduction

🚀MailSenderBot📩

Setup

First, we will setup the Gmail Account.

Step 1 • Goto This Link and click on the Allow less secure apps button.

Step 2 • Open Gmail > Settings > Fowarding and POP / IMAP

Step 3 • Click on Enable POP for all mail (even mail that's already been downloaded) option.

Step 3 • Click on Enable IMAP option.

Step 4 • Click on Save button.

Step 5 • Goto This Link and click on the Allow button.

Step 6 (IMP) • While deploying the bot, you will get a Critical security alert mail from google. Open the mail > Check Activity. Click on Yes, it was me button and redeploy your app.

🚀Deploy

For Deploying the application, there are these following options available...

Local server
Qovery
Heroku

Local Server

To start the application locally, you can use the following command...

• Set The Environmental Variables

Set them either via editing the source or in your OS Env.

$ npm i
$ npm build
$ npm start

• Star the repository if you like it

Qovery

To deploy the application on Qovery, you can do the following...

• Fork this repository
• Create a new application on Qovery
• Add the forked repository as a remote
• Set branch to main
• Set The Environmental Variables
• Deploy The Application
• Star the repository if you like it

Heroku

To deploy the application on Heroku, you can do the following...

• Fork this repository
• Create a new application on Heroku
• Connect your github account to Heroku
• Add the forked repository as a remote
• Set branch to main
• Set The Environmental Variables
• Deploy The Application
• Star the repository if you like it

Environmental Variables

The following environmental variables are required to deploy the application...

botToken botToken issued by @BotFather
userId user_id of the user
login The email of the user (Gmail only)
password The password of the user

Credits

Anony The bot idea was his.
Akash The bot was built by him.

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.