TikAero TikSqlDbWeb service


Click here for a complete list of operations.

MessageSendMail

Public Function MessageSendMail(ByVal strFromAddress As String, ByVal strFromName As String, ByVal strToAddress As String, ByVal strToAddressCC As String, ByVal strToAddressBCC As String, ByVal strReplyToAddress As String, ByVal strSubject As String, ByVal strBody As Byte() , ByVal strAttachmentStream As Byte(), ByVal strAttachmentFileName As String, ByVal bHtmlBody As Boolean, ByVal bConvertAttachmentFromHTML2PDF As Boolean, ByVal bAttachmentDiskFile As Boolean, ByVal lMailPriority As Integer) As Boolean

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /TikSqlDbWeb.asmx HTTP/1.1
Host: asr.yetiairlines.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.tiksystems.com/TikSqlDBWebServices/MessageSendMail"

<?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>
    <MessageSendMail xmlns="http://www.tiksystems.com/TikSqlDBWebServices">
      <strFromAddress>string</strFromAddress>
      <strFromName>string</strFromName>
      <strToAddress>string</strToAddress>
      <strToAddressCC>string</strToAddressCC>
      <strToAddressBCC>string</strToAddressBCC>
      <strReplyToAddress>string</strReplyToAddress>
      <strSubject>string</strSubject>
      <strBody>base64Binary</strBody>
      <strAttachmentStream>base64Binary</strAttachmentStream>
      <strAttachmentFileName>string</strAttachmentFileName>
      <bHtmlBody>boolean</bHtmlBody>
      <bConvertAttachmentFromHTML2PDF>boolean</bConvertAttachmentFromHTML2PDF>
      <bAttachmentDiskFile>boolean</bAttachmentDiskFile>
      <lMailPriority>int</lMailPriority>
    </MessageSendMail>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?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>
    <MessageSendMailResponse xmlns="http://www.tiksystems.com/TikSqlDBWebServices">
      <MessageSendMailResult>boolean</MessageSendMailResult>
    </MessageSendMailResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /TikSqlDbWeb.asmx HTTP/1.1
Host: asr.yetiairlines.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <MessageSendMail xmlns="http://www.tiksystems.com/TikSqlDBWebServices">
      <strFromAddress>string</strFromAddress>
      <strFromName>string</strFromName>
      <strToAddress>string</strToAddress>
      <strToAddressCC>string</strToAddressCC>
      <strToAddressBCC>string</strToAddressBCC>
      <strReplyToAddress>string</strReplyToAddress>
      <strSubject>string</strSubject>
      <strBody>base64Binary</strBody>
      <strAttachmentStream>base64Binary</strAttachmentStream>
      <strAttachmentFileName>string</strAttachmentFileName>
      <bHtmlBody>boolean</bHtmlBody>
      <bConvertAttachmentFromHTML2PDF>boolean</bConvertAttachmentFromHTML2PDF>
      <bAttachmentDiskFile>boolean</bAttachmentDiskFile>
      <lMailPriority>int</lMailPriority>
    </MessageSendMail>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <MessageSendMailResponse xmlns="http://www.tiksystems.com/TikSqlDBWebServices">
      <MessageSendMailResult>boolean</MessageSendMailResult>
    </MessageSendMailResponse>
  </soap12:Body>
</soap12:Envelope>