### CArclib:: ArcSetMailAddr

The ArcSetMailAddr method updates email addresses for email notification.

virtual ARC_STATUS ArcSetMailAddr( IN DWORD nItem, IN pMAIL_ADDR pMail );

#### Parameters:

[IN]

nItem:

Value | Meaning
0 | Updates the Sender's email address
1 | Updates the Mailto1's email address
2 | Updates the Mailto2's email address
3 | Updates the Mailto3's email address
4 | Updates the Mailto4's email address

pMail: Pointer to sMAIL_ADDR structure that configures the information

#### Return Values

This method returns the ARC_STATUS.

#### Note:

Password required if password enabled, use ArcChkPassword member function to validate the password.