Email Reply Context¶
Email Reply context table contains secret email reply token through which email reply is stored in database along with senders email address.
Attributes¶
emailReplyContextId: Primary key of the table.
shipmentId: Foreign key of the shipment table. This field stores the information of the shipment on which user can reply via email.
orgContactId: Foreign key of the Organisation Contact table. This field stores the information of the external user who can reply via email.
generationType: Field which indicates how token is generated.
Possible values
- Manual(User manually generated)
- System Dialogue(system generated when email was sent from shipment chat window)
email: Foreign key of the User table. This field stores the information of the internal user who can reply via email.
sharedBy: Email Id of the user who sent the email.
sharedByName: Name of the user who sent the email.
Associations¶
Shipment¶
Email Reply always belongs any one Shipment.
OrganisationContact¶
Email Reply always belongs any one organisation contact.
User¶
Email Reply always belongs any one User.