<div class="meta" robots="noindex">

</div>

Property

# SMTPSecureSocket.SMTPConnectionMode

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2019r2. Please use `SMTPSecureSocket.SMTPConnectionType<smtpsecuresocket.smtpconnectiontype>`}}

</div>

\<ShowIf version\]\] as a replacement.

## Description

The type of connection to make to the SMTP server. The default is ModeSTARTTLS.

## Notes

Use these constants with the <span class="title-ref">SMTPConnectionMode</span> property: \* ModeSTARTTLS = 0 \* ModeSSLTLS = 1

## Compatibility

All project types on all supported operating systems.
