Integrated Dell Remote Access Controller 9 RACADM CLI Guide

PDF

testemail

Table 1. Details of testemailThe following table provides details about the testemail subcommand:
testemail
Description Sends a test email from iDRAC to a specified destination. Prior to running the test email command, make sure that the SMTP server is configured. The specified index in the idrac.EmailAlert group must be enabled and configured properly. For more information, see Integrated Dell Remote Access Controller RACADM CLI Guide .
Synopsis racadm testemail -i <index>
Input -i <index> — Specifies the index of the email alert to test.
Output Success: Test e-mail sent successfully Failure: Unable to send test e-mail
Example Commands for the idrac.EmailAlert group:
  • Enable the alert.
    racadm set idrac.EmailAlert.1.Enable 1
  • Set the destination email address.
    racadm set idrac.EmailAlert.1.Address user1@mycompany.com
  • Set the custom message that is sent to the destination email address.
    racadm set idrac.emailalert.1.CustomMsg "This is a test!"
  • Make sure that the SMTP IP address is configured properly.
    racadm set idrac.remotehosts.SMTPServerIPAddress 192.168.0  
    
  • View the current email alert settings.
    racadm get idrac.EmailAlert.<index> 
    where <index> is a number from 1 to 8.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\