# SendTestMail Method

## Overloads

| [SendTestMail(String, String, String, Int32, eAuthenticationMethod, String, String, Int32, eMailFormat)](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.Services.IQDS.SendTestMail.htm#PIX_Services_IQDS_SendTestMail_System_String_System_String_System_String_System_Int32_PIX_eAuthenticationMethod_System_String_System_String_System_Int32_PIX_eMailFormat_) |  |  |
| --- | --- | --- |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.Services.IQDS.SendTestMail.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.Services.IQDS.SendTestMail.htm)

## SendTestMail(String, String, String, Int32, eAuthenticationMethod, String, String, Int32, eMailFormat)

### Declaration

```

          bool SendTestMail(string i_From, string i_ToAddress, string i_ServerAddress, int i_Port, eAuthenticationMethod i_AuthMethod, string i_Username, string i_EncryptedPassword, int i_TimeoutSeconds, eMailFormat i_MailFormat)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | i\_From |  |
| System.String | i\_ToAddress |  |
| System.String | i\_ServerAddress |  |
| System.Int32 | i\_Port |  |
| [eAuthenticationMethod](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.eAuthenticationMethod.htm) | i\_AuthMethod |  |
| System.String | i\_Username |  |
| System.String | i\_EncryptedPassword |  |
| System.Int32 | i\_TimeoutSeconds |  |
| [eMailFormat](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.eMailFormat.htm) | i\_MailFormat |  |

### Returns

| Type | Description |
| --- | --- |
| System.Boolean |  |