SMTP Mail Setup

Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/409

Table Type: Company

Table Name: SMTP Mail Setup
Database Table Name: CRONUS UK Ltd_$SMTP Mail Setup$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 409

Due to how Dynamics BC tables and columns are named, square brackets need to be wrapped around the table name and column names. Below are example queries showing how SMTP Mail Setup can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$SMTP Mail Setup$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Primary Key]
   ,[SMTP Server]
   ,[Authentication]
   ,[User ID]
   ,[SMTP Server Port]
   ,[Secure Connection]
   ,[Password Key]
   ,[Send As]
   ,[Allow Sender Substitution]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$SMTP Mail Setup$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [CRONUS UK Ltd_$SMTP Mail Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [SMTP Mail Setup]
LEFT JOIN
   [User] AS [User]
      ON
         [SMTP Mail Setup].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [SMTP Mail Setup].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in SMTP Mail Setup table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Primary Key Primary Key SearchPrimary KeyNormalCode10Primary Keynvarchar(20)
2SMTP Server SearchSMTP ServerNormalText250SMTP Servernvarchar(500)
3Authentication SearchAuthenticationNormalOption4Authenticationint
Available options are:
  • “Anonymous”
  • “NTLM”
  • “Basic”
  • “OAuth2”
4User ID SearchUser IDNormalText250User IDnvarchar(500)
6SMTP Server Port SearchSMTP Server PortNormalInteger4SMTP Server Portint
7Secure Connection SearchSecure ConnectionNormalBoolean4Secure Connectiontinyint
8Password Key SearchPassword KeyNormalGUID16Password Keyuniqueidentifier
9Send As SearchSend AsNormalText250Send Asnvarchar(500)
10Allow Sender Substitution SearchAllow Sender SubstitutionNormalBoolean4Allow Sender Substitutiontinyint
2000000000$systemId SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [SMTP Mail Setup].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$SMTP Mail Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [SMTP Mail Setup]
LEFT JOIN
       [User] AS [User]
              ON
                     [SMTP Mail Setup].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [SMTP Mail Setup].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$SMTP Mail Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [SMTP Mail Setup]
LEFT JOIN
       [User] AS [User]
              ON
                     [SMTP Mail Setup].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

Your email address will not be published. Required fields are marked *