mailservice.update
mailservice.update( ID, ACTIVE, NAME, SERVER, PORT, ENCRYPTION, LINK, SORT )
The method updates parameters of a mail service.
Parameters
Parameter | Description | Available from version |
---|---|---|
ID | The mail service ID | |
ACTIVE | The service active status (Y / N) | |
NAME | Name of added mail service | |
SERVER | Address of added service | |
PORT | Number of port | |
ENCRYPTION | Encryption requirement (Y / N) | |
LINK | Link to a mail service | |
SORT | Sorting index |
Example
BX24.callMethod( "mailservice.update", { 'ID': 5, 'ACTIVE': 'N', 'NAME': 'Yahoo mail service', 'SERVER': 'imap.yahoo.com', 'PORT': '993', 'ENCRYPTION': 'Y', 'LINK': 'https://mail.yahoo.com/', 'SORT': '666' }, function(result) { if(result.error()) { console.error(result.error()); } else { console.info(result.data()); } } );
© «Bitrix Inc.»,
2001-2021,
«Bitrix Inc.», 2021
User Comments
User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.