input: Write a function to create a Python program that sends an automated email to a list of recipient emails. The function should iterate over the list of emails and send an email to each address. The function should use the `smtplib` library to connect to an SMTP server and send emails.
  assert send_automated_email(["email1@example.com"])==True
  assert send_automated_email(["email1@example.com","email2@example.com"])==True
  assert send_automated_email([])==False
  assert send_automated_email(["email1@example.com","email2@example.com","email3@example.com"])==True
output: import smtplib
  from email.mime.text import MIMEText
  from email.mime.multipart import MIMEMultipart
  
  def send_automated_email(recipient_emails):
      if not recipient_emails:
          return False
      
      sender_email = "your_email@example.com"
      sender_password = "your_password"
      smtp_server = "smtp.example.com"
      smtp_port = 587
      
      subject = "Automated Email"
      body = "This is an automated email sent to you."
      
      try:
          server = smtplib.SMTP(smtp_server, smtp_port)
          server.starttls()
          server.login(sender_email, sender_password)
          
          for recipient in recipient_emails:
              msg = MIMEMultipart()
              msg['From'] = sender_email
              msg['To'] = recipient
              msg['Subject'] = subject
              msg.attach(MIMEText(body, 'plain'))
              
              server.sendmail(sender_email, recipient, msg.as_string())
          
          server.quit()
          return True
      except Exception as e:
          return False