class Kaltura::KalturaEmailNotificationDispatchJobData
Attributes
bcc[RW]
Email bcc emails and names, key is mail address and value is the name
cc[RW]
Email cc emails and names, key is mail address and value is the name
confirm_reading_to[RW]
Email address that a reading confirmation will be sent to
custom_headers[RW]
Adds a e-mail custom header
from_email[RW]
Define the email sender email
from_name[RW]
Define the email sender name
hostname[RW]
Hostname to use in Message-Id and Received headers and as default HELO string.
If empty, the value returned by SERVER_NAME is used or 'localhost.localdomain'.
message_id[RW]
Sets the message ID to be used in the Message-Id header.
If empty, a unique id will be generated.
priority[RW]
Define the email priority
reply_to[RW]
Email addresses that a replies should be sent to, key is mail address and value is the name
to[RW]
Email recipient emails and names, key is mail address and value is the name
Public Instance Methods
from_xml(xml_element)
click to toggle source
Calls superclass method
# File lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb, line 426 def from_xml(xml_element) super if xml_element.elements['fromEmail'] != nil self.from_email = xml_element.elements['fromEmail'].text end if xml_element.elements['fromName'] != nil self.from_name = xml_element.elements['fromName'].text end if xml_element.elements['to'] != nil self.to = KalturaClientBase.object_from_xml(xml_element.elements['to'], 'KalturaEmailNotificationRecipientJobData') end if xml_element.elements['cc'] != nil self.cc = KalturaClientBase.object_from_xml(xml_element.elements['cc'], 'KalturaEmailNotificationRecipientJobData') end if xml_element.elements['bcc'] != nil self.bcc = KalturaClientBase.object_from_xml(xml_element.elements['bcc'], 'KalturaEmailNotificationRecipientJobData') end if xml_element.elements['replyTo'] != nil self.reply_to = KalturaClientBase.object_from_xml(xml_element.elements['replyTo'], 'KalturaEmailNotificationRecipientJobData') end if xml_element.elements['priority'] != nil self.priority = xml_element.elements['priority'].text end if xml_element.elements['confirmReadingTo'] != nil self.confirm_reading_to = xml_element.elements['confirmReadingTo'].text end if xml_element.elements['hostname'] != nil self.hostname = xml_element.elements['hostname'].text end if xml_element.elements['messageID'] != nil self.message_id = xml_element.elements['messageID'].text end if xml_element.elements['customHeaders'] != nil self.custom_headers = KalturaClientBase.object_from_xml(xml_element.elements['customHeaders'], 'KalturaKeyValue') end end
priority=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb, line 422 def priority=(val) @priority = val.to_i end