CUser::SendUserInfo( int user_id, string site_id, string message )
The method SendUserInfo sends an e-mail message with the user preferences using the template USER_INFO.
Parameter | Description |
---|---|
user_id | User ID. |
site_id | he site ID whose e-mail template is to be used. |
message | Message text (#MESSAGE#). |
<? $USER_ID = 1; // send message to a user with ID=1, // using current site template CUser::SendUserInfo($USER_ID, SITE_ID, "You have successfully registered!"); ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |