Skip to content

Instantly share code, notes, and snippets.

View darideveloper's full-sized avatar
🎯
Focusing

Dari Developer darideveloper

🎯
Focusing
View GitHub Profile
@darideveloper
darideveloper / send_mail.py
Last active April 4, 2022 09:52
Enviar correos de texto plano con python. Script del curso Python Emails, Dari Developer: https://www.youtube.com/channel/UCXWTlKzN_udf9LGqlDsuByg
import smtplib
# Información de tu correo
email = "[email protected]"
password = "gmbkfyojzhwxxxxx"
smtp_server = "smtp.gmail.com"
smtp_port = "587"
# Conectarse con el servicio de correo
smtpObj = smtplib.SMTP (smtp_server, smtp_port)
@darideveloper
darideveloper / email_template_delivery.html
Last active January 30, 2021 12:17
Plantilla email html, servicio de entregas
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Recordatorio</title>
<style>
body {
margin: 0;
@darideveloper
darideveloper / read_email_html.py
Created January 30, 2021 12:03
Leer correos html
#! pyhton3
"""
Code for my youtube course: Python emails.
Youtube chanel (in spanish): https://www.youtube.com/channel/UCXWTlKzN_udf9LGqlDsuByg
"""
import imapclient, pyzmail, imaplib, bs4
# Update the number of bytes to use in the program
@darideveloper
darideveloper / send_email_html.py
Created January 30, 2021 12:02
Enviar correos html
#! python3
"""
Code for my youtube course: Python emails.
Youtube chanel (in spanish): https://www.youtube.com/channel/UCXWTlKzN_udf9LGqlDsuByg
"""
import smtplib, os
from email.mime.application import MIMEApplication
from email.mime.multipart import MIMEMultipart
@darideveloper
darideveloper / read_email_attachments.py
Last active January 30, 2021 12:05
Descargar archivos adjuntos en correos
#! pyhton3
"""
Code for my youtube course: Python emails.
Youtube chanel (in spanish): https://www.youtube.com/channel/UCXWTlKzN_udf9LGqlDsuByg
"""
import imapclient, pyzmail, imaplib, os
# Update the number of bytes to use in the program
@darideveloper
darideveloper / send_email_attachments.py
Created January 30, 2021 12:00
Adjuntar archivos a correos
#! python3
"""
Code for my youtube course: Python emails.
Youtube chanel (in spanish): https://www.youtube.com/channel/UCXWTlKzN_udf9LGqlDsuByg
"""
import smtplib, os
from email.mime.application import MIMEApplication
from email.mime.multipart import MIMEMultipart
@darideveloper
darideveloper / modify_email.py
Created January 30, 2021 11:59
Modificar correos
#! pyhton3
"""
Code for my youtube course: Python emails.
Youtube chanel (in spanish): https://www.youtube.com/channel/UCXWTlKzN_udf9LGqlDsuByg
"""
import imapclient, pyzmail, pprint, imaplib
# Update the number of bytes to use in the program
@darideveloper
darideveloper / filter_email.py
Created January 30, 2021 11:58
Filtrar correos recibidos
#! pyhton3
"""
Code for my youtube course: Python emails.
Youtube chanel (in spanish): https://www.youtube.com/channel/UCXWTlKzN_udf9LGqlDsuByg
"""
import imapclient, pyzmail, pprint, imaplib
from datetime import date
@darideveloper
darideveloper / read_email.py
Created January 30, 2021 11:57
Recibir correos desde python
#! pyhton3
"""
Code for my youtube course: Python emails.
Youtube chanel (in spanish): https://www.youtube.com/channel/UCXWTlKzN_udf9LGqlDsuByg
"""
import imapclient, pyzmail, imaplib
# Update the number of bytes to use in the program
@darideveloper
darideveloper / send_email.py
Created January 30, 2021 11:56
Enviar correos desde python
#! python3
"""
Code for my youtube course: Python emails.
Youtube chanel (in spanish): https://www.youtube.com/channel/UCXWTlKzN_udf9LGqlDsuByg
"""
import smtplib
# List of recipents