Tiscali Email Services
Click here for a complete list of operations.
SendCompleteEmail
Sends a text or HTML email via the given SMTP server or a default one with attachment (bytes) if any. Reciptients are in "Name <Email> " format and semicolon separated. Returns OK or Error: explanation.
Test
The test form is only available for requests from the local machine.SOAP
The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.
POST /EmailServices.asmx HTTP/1.1 Host: webservices.tiscali.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://webservices.tiscali.com/SendCompleteEmail" <?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> <SendCompleteEmail xmlns="http://webservices.tiscali.com/"> <from>string</from> <recipients>string</recipients> <cces>string</cces> <bcces>string</bcces> <subject>string</subject> <headers>string</headers> <encoding>string</encoding> <isHtmlBody>boolean</isHtmlBody> <body>string</body> <attachmentName>string</attachmentName> <attachmentData>base64Binary</attachmentData> <smtpServer>string</smtpServer> </SendCompleteEmail> </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> <SendCompleteEmailResponse xmlns="http://webservices.tiscali.com/"> <SendCompleteEmailResult>string</SendCompleteEmailResult> </SendCompleteEmailResponse> </soap:Body> </soap:Envelope>