To test the operation using the HTTP POST protocol, click the 'Invoke' button.
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /api.asmx HTTP/1.1
Host: api.jangomail.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://api.jangomail.com/SendTransactionalEmailRaw"
<?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>
<SendTransactionalEmailRaw xmlns="http://api.jangomail.com/">
<Username>string</Username>
<Password>string</Password>
<FromEmail>string</FromEmail>
<FromName>string</FromName>
<ToEmailAddress>string</ToEmailAddress>
<ToHeader>string</ToHeader>
<ContentType>string</ContentType>
<Subject>string</Subject>
<RawMessage>string</RawMessage>
<Options>string</Options>
</SendTransactionalEmailRaw>
</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>
<SendTransactionalEmailRawResponse xmlns="http://api.jangomail.com/">
<SendTransactionalEmailRawResult>string</SendTransactionalEmailRawResult>
</SendTransactionalEmailRawResponse>
</soap:Body>
</soap:Envelope>
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /api.asmx HTTP/1.1
Host: api.jangomail.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>
<SendTransactionalEmailRaw xmlns="http://api.jangomail.com/">
<Username>string</Username>
<Password>string</Password>
<FromEmail>string</FromEmail>
<FromName>string</FromName>
<ToEmailAddress>string</ToEmailAddress>
<ToHeader>string</ToHeader>
<ContentType>string</ContentType>
<Subject>string</Subject>
<RawMessage>string</RawMessage>
<Options>string</Options>
</SendTransactionalEmailRaw>
</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>
<SendTransactionalEmailRawResponse xmlns="http://api.jangomail.com/">
<SendTransactionalEmailRawResult>string</SendTransactionalEmailRawResult>
</SendTransactionalEmailRawResponse>
</soap12:Body>
</soap12:Envelope>
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /api.asmx/SendTransactionalEmailRaw?Username=string&Password=string&FromEmail=string&FromName=string&ToEmailAddress=string&ToHeader=string&ContentType=string&Subject=string&RawMessage=string&Options=string HTTP/1.1 Host: api.jangomail.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://api.jangomail.com/">string</string>
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /api.asmx/SendTransactionalEmailRaw HTTP/1.1 Host: api.jangomail.com Content-Type: application/x-www-form-urlencoded Content-Length: length Username=string&Password=string&FromEmail=string&FromName=string&ToEmailAddress=string&ToHeader=string&ContentType=string&Subject=string&RawMessage=string&Options=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://api.jangomail.com/">string</string>