Passer au contenu principal
  • Passer des commandes rapidement et facilement
  • Afficher les commandes et suivre l’état de votre expédition
  • Créez et accédez à une liste de vos produits
  • Gérer vos sites, vos produits et vos contacts au niveau des produits Dell EMC à l’aide de la rubrique Gestion des informations de l’entreprise.

Dell Chassis Management Controller Version 1.3 for PowerEdge FX2/FX2s RACADM Command Line Reference Guide

PDF

testemail

Description

Sends a test e-mail from CMC to a specified destination. Prior to executing the test e-mail command, make sure that the SMTP server is configured and the specified index in the RACADM cfgEmailAlert group is enabled and configured properly.

Synopsis

racadm testemail -i <
                                                index>
                                             

Input

-i — Specifies the index of the e-mail alert to test.

Output

Success: Test e-mail sent successfully
Failure: Unable to send test e-mail

Example

Commands for the cfgEmailAlert group:
  • Enable the alert —
     racadm config -g cfgEmailAlert -o cfgEmailAlertEnable -i 1
  • Set the destination e-mail address —
    racadm config -g cfgEmailAlert -o cfgEmailAlertAddress -i 1 user1@mycompany.com
  • Set the custom message that is sent to the destination e-mail address —
    racadm config -g cfgEmailAlert -o cfgEmailAlertCustomMsg -i 1 "This is a test!"
  • Make sure that the SMTP IP address is configured properly —
    racadm config -g cfgRemoteHosts -o cfgRhostsSmtpServerIpAddr 192.168.0.152
  • View the current e-mail alert settings —
    racadm getconfig -g cfgEmailAlert -i <
                                                             index> 
                                                          

    where < index> is a number from 1 to 4.


Évaluez ce contenu

Précis
Utile
Facile à comprendre
Avez-vous trouvé cet article utile ?
0/3000 characters
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez indiquer si l’article a été utile ou non.
  Les commentaires ne doivent pas contenir les caractères spéciaux : <>()\