ISExternalProvider.CorrespondenceMethodEmail

Description

Returns True if the selected correspondence method for the external provider is 'E-mail'.

Syntax

object.CorrespondenceMethodEmail

Part Attribute Type Description
object Required
The object always implements the ISExternalProvider interface

Return Value

bool

Example

Display CorrespondenceMethodEmail for the external provider.

Dim aExtProvider 
Dim aCode
Dim aMessage

aCode = "1"
Set aExtProvider = Profile.LoadExternalProvider(aCode)

if aExtProvider.ID = 0  then 
  Profile.MsgBox("No external provider with the specified code")
  exit sub   
end if

aMessage = aMessage & "FULL NAME:" & vbNewLine & aExtProvider.FullName &_
  vbNewLine & vbNewLine & "CORRESPONDENCE METHOD 'E-mail':" & vbNewLine &_
  aExtProvider.CorrespondenceMethodEmail
 
Profile.MsgBox(aMessage)  
Note:

In Profile Client v8 on User Interface the E-mail checkbox can be checked in Organisation > External Providers > Basic > Reference > Correspondence method.

Version information

Added in v7.8.0