import smtplib


def send_email(msg):
    # Send the message via our own SMTP server.
    with smtplib.SMTP_SSL('smtp.gmail.com', 465) as s:
        # s.starttls()
        s.set_debuglevel(2)
        s.send_message(msg)

import smtplib


def send_email(msg):
    # Send the message via our own SMTP server.
    with smtplib.SMTP_SSL('smtp.gmail.com', 465) as s:
        s.send_message(msg)

Remove somore more lines related to email
Remove somore more lines related to email

  import smtplib
  
  
  def send_email(msg):
      # Send the message via our own SMTP server.
      with smtplib.SMTP_SSL('smtp.gmail.com', 465) as s:
-         # s.starttls()
-         s.set_debuglevel(2)
          s.send_message(msg)
  
Remove somore more lines related to email
## Code Before:
import smtplib


def send_email(msg):
    # Send the message via our own SMTP server.
    with smtplib.SMTP_SSL('smtp.gmail.com', 465) as s:
        # s.starttls()
        s.set_debuglevel(2)
        s.send_message(msg)

## Instruction:
Remove somore more lines related to email
## Code After:
import smtplib


def send_email(msg):
    # Send the message via our own SMTP server.
    with smtplib.SMTP_SSL('smtp.gmail.com', 465) as s:
        s.send_message(msg)
