ServiceType Property  
 

Gets and sets the type of service used to send messages.

Syntax

object.ServiceType [= value ]

Remarks

The ServiceType property identifies the service used to send the text message. This property is provided for future expansion where different types of services may be used to send a message. Currently, the only service type that is supported is SMTP, where the message is sent through a gateway mail server.

The following values may be assigned to or returned by this property:

Value Constant Description
smsServiceSmtp The text message will be sent through the mail gateway for the specified service provider. This service uses SMTP to submit the message for delivery, either directly to the server provider's mail gateway server or through a relay server. This is the default service type.

Data Type

Integer (Int32)

See Also

Message Property, PhoneNumber Property, Sender Property, SendMessage Method