Tiscali Email Services
Click here for a complete list of operations.
SendCompleteEmailWithAttachUrl
Sends a text or HTML email via the given SMTP server or a default one with attachment getted from given URL (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/SendCompleteEmailWithAttachUrl" <?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> <SendCompleteEmailWithAttachUrl 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> <attachmentUrl>string</attachmentUrl> <smtpServer>string</smtpServer> </SendCompleteEmailWithAttachUrl> </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> <SendCompleteEmailWithAttachUrlResponse xmlns="http://webservices.tiscali.com/"> <SendCompleteEmailWithAttachUrlResult>string</SendCompleteEmailWithAttachUrlResult> </SendCompleteEmailWithAttachUrlResponse> </soap:Body> </soap:Envelope>