Configure a new mail session
- Identify the parent ID:
set newmp [$AdminConfig getid /Cell:cellname/Node:nodename/MailProvider:MP1/]
Example output:
MP1(cells/cellname/nodes/nodename:resources.xml#MailProvider_1)- Get required attributes:
$AdminConfig required MailSession
Example output:
Attribute Type name String jndiName String- Set up required attributes:
set name [list name MS1] set jndi [list jndiName mail/MS1] set msAttrs [list $name $jndi]
Example output:
{name MS1} {jndiName mail/MS1}- Create the mail session:
$AdminConfig create MailSession $newmp $msAttrs
Example output:
MS1(cells/cellname/nodes/nodename:resources.xml#MailSession_1)- Save changes:
$AdminConfig save
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.