GithubHelp home page GithubHelp logo

slopesweb / bot-de-envio-de-e-mails-via-whatsapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tonysilva22/bot-de-envio-de-e-mails-via-whatsapp-whatsapp-web.js

0.0 0.0 0.0 8 KB

License: Apache License 2.0

JavaScript 100.00%

bot-de-envio-de-e-mails-via-whatsapp's Introduction

Bot de Envio de E-mails via WhatsApp

Este é um bot que permite enviar e-mails diretamente pelo WhatsApp. Ele utiliza a biblioteca whatsapp-web.js para se comunicar com o WhatsApp Web e a biblioteca nodemailer para enviar e-mails.

Configuração

Antes de usar o bot, é necessário configurar algumas informações:

  1. Instale as dependências:

    npm install whatsapp-web.js qrcode-terminal moment nodemailer readline
  2. Configure o Gmail:

    • Abra o arquivo index.js e substitua '[email protected]' e '****senha******' pelo seu endereço de e-mail e senha do Gmail.
  3. Inicie o Bot:

    node botemail.js

Funcionalidades

O bot é capaz de:

  • Gerar um código QR para autenticação no WhatsApp.
  • Saudar o usuário com base no horário do dia.
  • Solicitar e enviar e-mails.

Uso

  1. Após iniciar o bot, escaneie o código QR gerado com o WhatsApp no seu celular.

  2. O bot irá cumprimentar você com base no horário do dia.

  3. Ele solicitará o e-mail de destino, o assunto e a mensagem do e-mail.

  4. Após fornecer essas informações, o bot enviará o e-mail.

  5. Você receberá uma confirmação de envio.

bot-de-envio-de-e-mails-via-whatsapp's People

Contributors

tonysilva22 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.