Tiscali Email Services
Click here for a complete list of operations.
SendEmailWithNamesAndEncoding
Sends a text or HTML email via the given SMTP server or a default one. 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/SendEmailWithNamesAndEncoding" <?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> <SendEmailWithNamesAndEncoding xmlns="http://webservices.tiscali.com/"> <fromName>string</fromName> <from>string</from> <toName>string</toName> <to>string</to> <cc>string</cc> <bcc>string</bcc> <subject>string</subject> <body>string</body> <encoding>string</encoding> <smtpServer>string</smtpServer> </SendEmailWithNamesAndEncoding> </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> <SendEmailWithNamesAndEncodingResponse xmlns="http://webservices.tiscali.com/"> <SendEmailWithNamesAndEncodingResult>string</SendEmailWithNamesAndEncodingResult> </SendEmailWithNamesAndEncodingResponse> </soap:Body> </soap:Envelope>