input: Write a python function to send an email using the smtplib module.
  assert send_email('smtp.gmail.com', 587, 'sender_email_address@example.com', 'receiver_email_address@example.com', 'Daily reminder', 'Remember to stay safe and healthy!', 'password')==True
  assert send_email('smtp.gmail.com', 587, 'sender@example.com', 'receiver@example.com', 'Test Subject', 'This is a test message', 'testpassword')==True
output: def send_email(smtp_server, port, sender_email, receiver_email, subject, body, password):
      import smtplib
      from email.mime.text import MIMEText
      from email.mime.multipart import MIMEMultipart
      
      # Create the email
      msg = MIMEMultipart()
      msg['From'] = sender_email
      msg['To'] = receiver_email
      msg['Subject'] = subject
      msg.attach(MIMEText(body, 'plain'))
      
      try:
          # Connect to the server and send the email
          server = smtplib.SMTP(smtp_server, port)
          server.starttls()
          server.login(sender_email, password)
          text = msg.as_string()
          server.sendmail(sender_email, receiver_email, text)
          server.quit()
          return True
      except Exception as e:
          print(f"Failed to send email: {e}")
          return False