Tiscali Email Services
Click here for a complete list of operations.
SendEmailWithSmtpResult
Sends an email and returns the results log directly from the SMTP server.
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/SendEmailWithSmtpResult" <?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> <SendEmailWithSmtpResult xmlns="http://webservices.tiscali.com/"> <from>string</from> <to>string</to> <subject>string</subject> <body>string</body> <attachmentUrl>string</attachmentUrl> <smtpServer>string</smtpServer> </SendEmailWithSmtpResult> </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> <SendEmailWithSmtpResultResponse xmlns="http://webservices.tiscali.com/"> <SendEmailWithSmtpResultResult> <Result>string</Result> <SmtpLog>string</SmtpLog> </SendEmailWithSmtpResultResult> </SendEmailWithSmtpResultResponse> </soap:Body> </soap:Envelope>