ODBC Driver for Salesforce

Build 26.0.9770

OutgoingEmail

Represents an outbound email sent from a workflow rule, Apex, or similar automated process.

Columns

Name Type ReadOnly References Description
Id String True

Unique identifier for the record.

ExternalId String False

External ID from another system.

ValidatedFromAddress String False

Field containing ValidatedFromAddress information.

ToAddress String False

Field containing ToAddress information.

CcAddress String False

Field containing CcAddress information.

BccAddress String False

Field containing BccAddress information.

Subject String False

Subject or title of the activity.

TextBody String False

Field containing TextBody information.

HtmlBody String False

Field containing HtmlBody information.

RelatedToId String False

ID of the RelatedTo associated with this record.

WhoId String False

ID of the Who associated with this record.

EmailTemplateId String False

EmailTemplate.Id

ID of the EmailTemplate associated with this record.

InReplyTo String False

Field containing InReplyTo information.

References String False

Field containing References information.

MessageId String False

ID of the Message associated with this record.

Pseudocolumns

Pseudocolumn fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
RelatedToIdType String

Specifies the type of the 'RelatedToId' polymorphic field to use in the statement.

RelatedToIdExternalFieldName String

Specifies the external field name of the 'RelatedToId' polymorphic field to use in an INSERT/UPDATE/UPSERT statement

WhoIdType String

Specifies the type of the 'WhoId' polymorphic field to use in the statement.

WhoIdExternalFieldName String

Specifies the external field name of the 'WhoId' polymorphic field to use in an INSERT/UPDATE/UPSERT statement

EmailTemplateIdType String

Specifies the type of the 'EmailTemplateId' polymorphic field to use in the statement.

EmailTemplateIdExternalFieldName String

Specifies the external field name of the 'EmailTemplateId' polymorphic field to use in an INSERT/UPDATE/UPSERT statement

SOQL String

Specifies the SOQL query to execute against the Salesforce servers. If this pseudo column is set from the WHERE clause it will take precedence over the original query.

ExternalIdColumn String

Specifies the external Id column to use if performing an insert. If this value is specified, upsert will be used when the INSERT command is called.

FilterScope String

Optional scope to limit the records returned from queries. This property can take one of these values: Delegated, Everything, Mine, MineAndMyGroups, My_Territory, My_Team_Territory, or Team.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9770