inwise - email marketing and newsletter software company
 
inwise Top Background
Arrow on Service

Statistics Non Sent Emails
Footer

Statistics Non Sent Emails

Operation Name: operation Name
Description: description

All actions require a valid user name and password using authenticaion header.
Show a raw xml example including the authentication header.

Service url:https://api.inwise.com/InwiseWebServices.asmx

Adding a reference to inwise web services

User Name:
Password:  
Send id: 
The service enables you to view a list of recipients for which the message was not sent.
The operation returns an Array of NonSentEmail objects with the following fields:
  • Id - the record Id.
  • RecipientId - the Id of the recipient.
  • Email - the recipient's email address.
  • TimeStamp - the date of the action.
  • Reason - the reason for not sending the email.

Parameters:

  • int sendId

Java Code:

//get a reference to the service InwiseWebServices ws = new InwiseWebServices();
InwiseWebServicesSoap inwiseWebServicesSoap = ws.getInwiseWebServicesSoap();

//fill the security header
HeaderHandler hh = new HeaderHandler("myusername", "myPassword");
hh.setHeader(inwiseWebServicesSoap);
InwiseService service=new InwiseService();

// make the service call
inwise.ArrayOfNonSentEmail result = service.statisticsNonSentEmails(sendId);

C# Code:

//get a reference to the service

InwiseWebServices.InwiseWebServices ws = new InwiseWebServices.InwiseWebServices();

 

//fill the security header

InwiseWebServices.SecHeader header = new InwiseWebServices.SecHeader();

header.username = "username";

header.pass = "myPassword";

ws.SecHeaderValue = header;//set credentials

 

NonSentEmail[] data = ws.Statistics_NonSentEmails(sendId);

  // loop through the results.

  foreach (NonSentEmail item in result.Data)

  {

  }

VB Code:

 'get a reference to the service

Dim ws As InwiseWebServices.InwiseWebServices = New InwiseWebServices.InwiseWebServices()

 

'fill the security header

Dim header As InwiseWebServices.SecHeader = New InwiseWebServices.SecHeader()

header.username = "username"

header.pass = "myPassword"

ws.SecHeaderValue = header 'set credentials

 

' make the service call

Dim result() As InwiseWebServices.NonSentEmail= target.Statistics_NonSentEmails(sendId)

 

  ' loop through the results.

  For Each NonSentEmail As Object In result.Data

  Next




Home  |  About us  |  Products  |  Service  |  Partners  |  Forum  |  Email Marketing Terms  |  Support  |  Contact us
Terms & Conditions  |  Privacy Policy  |  Anti Spam Policy  |  Site Map
© 2008 inwise LTD. All rights reserved.