Receive Gmail emails through nodejs
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Passo a passo de como apontar um domínio para o IP do seu servidor utilizando o DNS do registro.br</title> | |
</head> | |
<body> | |
<style type="text/css"> | |
@page { margin: 2cm } | |
p { margin-bottom: 0.25cm; line-height: 120% } | |
h1 { margin-bottom: 0.21cm } |
Para enviar e-mails de smtp.gmail.com, certifique-se de seguir estas 2 etapas:
- Em sua conta do Google, certifique-se de que a verificação em duas etapas esteja ativada.
- Em seguida, acesse https://security.google.com/settings/security/apppasswords . Clique em Selecionar aplicativo e escolha Outro (nome personalizado) no menu suspenso e clique em Gerar . Você receberá um código de 16 dígitos , este código deve ser usado como senha na configuração do e-mail e o usuário permanece como seu e-mail. Além disso, certifique-se de {seguro: verdadeiro}
Aqui está minha configuração:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Criando um script .sh para executar todos os comandos: | |
#root@servidor:~# vi script.sh | |
#root@servidor:~# chmod +x script.sh | |
#root@servidor:~# ./script.sh | |
apt-get update | |
apt-get -y install autoconf automake build-essential git-core libass-dev libgpac-dev libsdl1.2-dev libtheora-dev libtool libvdpau-dev libvorbis-dev libx11-dev libxext-dev libxfixes-dev pkg-config texi2html zlib1g-dev libmp3lame-dev nasm gcc yasm && true | |
mkdir ~/ffmpeg_sources | |
cd ~/ffmpeg_sources | |
git clone --depth 1 git://github.com/mstorsjo/fdk-aac.git |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta charset="utf-8">
<title>Google Spreadsheet</title>
<style>
* {
margin: 5px;
NewerOlder