Skip to content
View tvalls's full-sized avatar

Block or report tvalls

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
tvalls/README.md
  • 👋 Hi, I’m @tvalls

  • 👀 I’m interested in Python

  • 🌱 I’m currently learning Python

  • 💞️ I’m looking to collaborate on Python

  • 📫 How to reach me Py..... I mean...

    import smtplib
    from email.mime.text import MIMEText
    from email.mime.multipart import MIMEMultipart
    
    def send_email(sender_email, receiver_email, subject, message, smtp_server, smtp_port, smtp_username, smtp_password):
        msg = MIMEMultipart()
        msg['From'] = you
        msg['To'] = '[email protected]'
        msg['Subject'] = 'Saw you on github'
    
        msg.attach(MIMEText(message, 'plain'))
    
        try:
            server = smtplib.SMTP(smtp_server, smtp_port)
            server.starttls()
    
            server.login(smtp_username, smtp_password)
    
            server.sendmail(sender_email, receiver_email, msg.as_string())
            print("Email sent successfully!")
        except Exception as e:
            print("Error sending email:", str(e))
        finally:
            server.quit()
    

Popular repositories Loading

  1. Python-Course Python-Course Public

    Python Course projects

    Python

  2. tvalls tvalls Public

    Config files for my GitHub profile.

    Python

  3. JavaScript-Course JavaScript-Course Public

    Projects created in Luiz Otavio Miranda's JavaScript Course

    JavaScript

  4. m15b3-dashboard m15b3-dashboard Public

    Python