---
title: Client reference
summary: Complete reference for every contract operation this repository calls.
status: draft
owner: SAIF.Core documentation
last_reviewed: 2026-09-24
---

# Client reference

**No repository source calls any operation on `SMTP`.** No source file constructs `clsSAIFMessageSoapClient`, and there is no authored wrapper, so no operation has a call site. Per [Operation map](operation-map.md), all five declared operations are present but not called. The sections below document each operation's shape as declared in the WSDL (see [Contract](contract.md)), for the reader who needs the reference surface even though nothing in this repository exercises it.

---

## SendMailAsText

Sends an SMTP mail message as plain text. The WSDL documentation string for this operation is "Send SMTP Mail Message".

| Field | Value |
| --- | --- |
| **Operation** | `SendMailAsText` |
| **SOAP action** | `http://www.saif.com/SendMailAsText` |
| **Proxy member** | `void SendMailAsText(string ToAddress, string FromAddress, string Subject, string Message)` (generated, `internal`) |
| **Input message** | `ToAddress, FromAddress, Subject, Message : string` |
| **Output message** | `void` (empty response) |
| **Declared faults** | None declared |
| **Called by** | Not applicable — no repository source calls this operation |
| **Source** | `Services/SAIF.Services.Web.Proxies/Service References/SMTP/Reference.cs` |

### Input message

| Part | Type | Required | Bound from | Purpose |
| --- | --- | --- | --- | --- |
| `ToAddress` | string | Not stated in the WSDL | Not applicable — no call site | The recipient address |
| `FromAddress` | string | Not stated in the WSDL | Not applicable — no call site | The sender address |
| `Subject` | string | Not stated in the WSDL | Not applicable — no call site | The message subject |
| `Message` | string | Not stated in the WSDL | Not applicable — no call site | The plain-text message body |

### Output message

This operation declares no output message.

### Faults

| Fault | Surfaces as | Handled at the call site |
| --- | --- | --- |
| None declared | Not applicable | Not applicable — no call site |

### Call site

Not applicable — no repository source calls this operation.

### Notes
- Present but not called; see [Operation map](operation-map.md).

---

## SendMail

Sends an SMTP mail message.

| Field | Value |
| --- | --- |
| **Operation** | `SendMail` |
| **SOAP action** | `http://www.saif.com/SendMail` |
| **Proxy member** | `void SendMail(string ToAddress, string FromAddress, string Subject, string Message)` (generated, `internal`) |
| **Input message** | `ToAddress, FromAddress, Subject, Message : string` |
| **Output message** | `void` (empty response) |
| **Declared faults** | None declared |
| **Called by** | Not applicable — no repository source calls this operation |
| **Source** | `Services/SAIF.Services.Web.Proxies/Service References/SMTP/Reference.cs` |

### Input message

| Part | Type | Required | Bound from | Purpose |
| --- | --- | --- | --- | --- |
| `ToAddress` | string | Not stated in the WSDL | Not applicable — no call site | The recipient address |
| `FromAddress` | string | Not stated in the WSDL | Not applicable — no call site | The sender address |
| `Subject` | string | Not stated in the WSDL | Not applicable — no call site | The message subject |
| `Message` | string | Not stated in the WSDL | Not applicable — no call site | The message body |

### Output message

This operation declares no output message.

### Faults

| Fault | Surfaces as | Handled at the call site |
| --- | --- | --- |
| None declared | Not applicable | Not applicable — no call site |

### Call site

Not applicable — no repository source calls this operation.

### Notes
- Present but not called; see [Operation map](operation-map.md).

---

## SendWithAttach

Sends an SMTP mail message with a binary attachment.

| Field | Value |
| --- | --- |
| **Operation** | `SendWithAttach` |
| **SOAP action** | `http://www.saif.com/SendWithAttach` |
| **Proxy member** | `void SendWithAttach(string ToAddress, string FromAddress, string Subject, string Message, byte[] Attachment, string AttachName)` (generated, `internal`) |
| **Input message** | `ToAddress, FromAddress, Subject, Message : string; Attachment : base64Binary; AttachName : string` |
| **Output message** | `void` (empty response) |
| **Declared faults** | None declared |
| **Called by** | Not applicable — no repository source calls this operation |
| **Source** | `Services/SAIF.Services.Web.Proxies/Service References/SMTP/Reference.cs` |

### Input message

| Part | Type | Required | Bound from | Purpose |
| --- | --- | --- | --- | --- |
| `ToAddress` | string | Not stated in the WSDL | Not applicable — no call site | The recipient address |
| `FromAddress` | string | Not stated in the WSDL | Not applicable — no call site | The sender address |
| `Subject` | string | Not stated in the WSDL | Not applicable — no call site | The message subject |
| `Message` | string | Not stated in the WSDL | Not applicable — no call site | The message body |
| `Attachment` | base64Binary | Not stated in the WSDL | Not applicable — no call site | The attachment content |
| `AttachName` | string | Not stated in the WSDL | Not applicable — no call site | The attachment file name |

### Output message

This operation declares no output message.

### Faults

| Fault | Surfaces as | Handled at the call site |
| --- | --- | --- |
| None declared | Not applicable | Not applicable — no call site |

### Call site

Not applicable — no repository source calls this operation.

### Notes
- Present but not called; see [Operation map](operation-map.md).

---

## SendWithAttachAsText

Sends an SMTP mail message with a binary attachment, as plain text. The WSDL declares the same message shape as `SendWithAttach`.

| Field | Value |
| --- | --- |
| **Operation** | `SendWithAttachAsText` |
| **SOAP action** | `http://www.saif.com/SendWithAttachAsText` |
| **Proxy member** | `void SendWithAttachAsText(string ToAddress, string FromAddress, string Subject, string Message, byte[] Attachment, string AttachName)` (generated, `internal`) |
| **Input message** | Same shape as `SendWithAttach` |
| **Output message** | `void` (empty response) |
| **Declared faults** | None declared |
| **Called by** | Not applicable — no repository source calls this operation |
| **Source** | `Services/SAIF.Services.Web.Proxies/Service References/SMTP/Reference.cs` |

### Input message

| Part | Type | Required | Bound from | Purpose |
| --- | --- | --- | --- | --- |
| `ToAddress` | string | Not stated in the WSDL | Not applicable — no call site | The recipient address |
| `FromAddress` | string | Not stated in the WSDL | Not applicable — no call site | The sender address |
| `Subject` | string | Not stated in the WSDL | Not applicable — no call site | The message subject |
| `Message` | string | Not stated in the WSDL | Not applicable — no call site | The message body |
| `Attachment` | base64Binary | Not stated in the WSDL | Not applicable — no call site | The attachment content |
| `AttachName` | string | Not stated in the WSDL | Not applicable — no call site | The attachment file name |

### Output message

This operation declares no output message.

### Faults

| Fault | Surfaces as | Handled at the call site |
| --- | --- | --- |
| None declared | Not applicable | Not applicable — no call site |

### Call site

Not applicable — no repository source calls this operation.

### Notes
- Present but not called; see [Operation map](operation-map.md).

---

## SendEmail

Sends an SMTP mail message with an optional HTML body, file attachments, and linked resources.

| Field | Value |
| --- | --- |
| **Operation** | `SendEmail` |
| **SOAP action** | `http://www.saif.com/SendEmail` |
| **Proxy member** | `void SendEmail(string ToAddress, string FromAddress, string Subject, string Message, bool isBodyHtml, ArrayOfClsAttachment attachments, ArrayOfClsLinkedResource linkedResources)` (generated, `internal`) |
| **Input message** | `ToAddress, FromAddress, Subject, Message : string; isBodyHtml : boolean (required); attachments : ArrayOfClsAttachment; linkedResources : ArrayOfClsLinkedResource` |
| **Output message** | `void` (empty response) |
| **Declared faults** | None declared |
| **Called by** | Not applicable — no repository source calls this operation |
| **Source** | `Services/SAIF.Services.Web.Proxies/Service References/SMTP/Reference.cs` |

### Input message

| Part | Type | Required | Bound from | Purpose |
| --- | --- | --- | --- | --- |
| `ToAddress` | string | Not stated in the WSDL | Not applicable — no call site | The recipient address |
| `FromAddress` | string | Not stated in the WSDL | Not applicable — no call site | The sender address |
| `Subject` | string | Not stated in the WSDL | Not applicable — no call site | The message subject |
| `Message` | string | Not stated in the WSDL | Not applicable — no call site | The message body |
| `isBodyHtml` | boolean | Yes | Not applicable — no call site | Whether `Message` is HTML |
| `attachments` | `ArrayOfClsAttachment` | Not stated in the WSDL | Not applicable — no call site | File attachments; see [`clsAttachment`](contract.md#clsattachment) |
| `linkedResources` | `ArrayOfClsLinkedResource` | Not stated in the WSDL | Not applicable — no call site | Embedded/linked resources; see [`clsLinkedResource`](contract.md#clslinkedresource) |

### Output message

This operation declares no output message.

### Faults

| Fault | Surfaces as | Handled at the call site |
| --- | --- | --- |
| None declared | Not applicable | Not applicable — no call site |

### Call site

Not applicable — no repository source calls this operation.

### Notes
- Present but not called; see [Operation map](operation-map.md).

---

## Coverage checklist

| Operation | Documented section | Called by |
| --- | --- | --- |
| `SendMailAsText` | [`SendMailAsText`](#sendmailastext) | Not called |
| `SendMail` | [`SendMail`](#sendmail) | Not called |
| `SendWithAttach` | [`SendWithAttach`](#sendwithattach) | Not called |
| `SendWithAttachAsText` | [`SendWithAttachAsText`](#sendwithattachastext) | Not called |
| `SendEmail` | [`SendEmail`](#sendemail) | Not called |

## Related documentation
- [Client index](index.md)
- [Overview](overview.md)
- [Architecture](architecture.md)
- [Contract](contract.md)
- [Operation map](operation-map.md)
- [Consumption](consumption.md)
- [Dependencies](dependencies.md)
- [Tech debt](tech-debt.md)

## Sources
- `Services/SAIF.Services.Web.Proxies/Service References/SMTP/Reference.cs`
- `Services/SAIF.Services.Web.Proxies/Service References/SMTP/clsSAIFMessage1.wsdl`
