Aci_email, Aci_email -60, Figure 4-48 – ADIC Server User Manual
Page 102: Figure 4-49

4-60
DAS ACI Functions
601626-B
Figure 4-48
Example of the aci_ejectclean Function
aci_email
The aci_email function sends email messages. See
Figure 4-49.
Figure 4-49
aci_email Function Call
/* Eject clean cartridges from AML system*/
int res, i, pnActualCount;
char *Cleanpoolname = "CLP01";
char *areaname = "E02"
struct aci_ei_info *ei_info[ACI_EI_MAX_RANGE];
res =
aci_ejectclean( areaname, Cleanpoolname,
ei_info);
if( rec )
{
aci_perror( "Command failed: " );
}
else
{
printf("Volume ejects request successful\n" );
for (i = 0; i < ACI_EI_MAX_RANGE; i++)
{
if ( *ei_info[i]->volser == '\0' )
break;
printf( "volser:%s media type:%s Error:%d\n",
ei_info[i]->volser,
ei_info[i]->media_type,
ei_info[i]->errcode );
}
}
#include "aci.h"
int aci_email (char *Adr
char *Msg)