parameters: (tag, message)
docstring: Send an alert email to apprtc-alert@google.com.
docstring_summary: Send an alert email to apprtc-alert
docstring_tokens: Send an alert email to apprtc - alert
function: def send_alert_email(tag, message):
    """Send an alert email to apprtc-alert@google.com."""
    receiver = 'apprtc-alert@google.com'
    sender_address = 'AppRTC Notification <apprtc@webrtc.org>'
    subject = 'AppRTC Prober Alert: ' + tag
    body = """
    AppRTC Prober detected an error:
  
    %s
  
    Goto go/apprtc-sheriff for how to handle this error.
    """ % message
  
    logging.info('Sending email to %s: subject=%s, message=%s',
                 receiver, subject, message)
    mail.send_mail(sender_address, receiver, subject, body)
function_tokens: def send_alert_email ( tag , message ) : receiver = 'apprtc-alert@google.com' sender_address = 'AppRTC Notification <apprtc@webrtc.org>' subject = 'AppRTC Prober Alert: ' + tag body = """
    AppRTC Prober detected an error:
  
    %s
  
    Goto go/apprtc-sheriff for how to handle this error.
    """ % message logging . info ( 'Sending email to %s: subject=%s, message=%s' , receiver , subject , message ) mail . send_mail ( sender_address , receiver , subject , body )