Метод: SendMail
| Параметр | Описание |
|---|---|
| ASPNETSessionId | Идентификатор сессии |
| emails | Адрес(а) |
| subject | Тема письма |
| body | Тело письма |
| documents | Массив данных документов DocumentsWrapper, который содержит: |
| DocumentName | Название файла-вложения вместе с расширением |
| DocumentBody | Файл в кодировке base64 |
| DocumentContentType | тип загружаемого файла |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <SendMail xmlns="http://tempuri.org/"> <ASPNETSessionId>string</ASPNETSessionId> <emails> <string>string</string> <string>string</string> </emails> <subject>string</subject> <body>string</body> <documents> <DocumentsWrapper> <DocumentName>string</DocumentName> <DocumentBody>string</DocumentBody> <DocumentContentType>string</DocumentContentType> </DocumentsWrapper> <DocumentsWrapper> <DocumentName>string</DocumentName> <DocumentBody>string</DocumentBody> <DocumentContentType>string</DocumentContentType> </DocumentsWrapper> </documents> </SendMail> </soap:Body> </soap:Envelope>
| Параметр | Описание |
|---|---|
| SendMailResponse | Результат выполнения |
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <SendMailResponse xmlns="http://tempuri.org/" /> </soap:Body> </soap:Envelope>