Class: Kaltura::KalturaEmailNotificationDispatchJobData
- Inherits:
-
KalturaEventNotificationDispatchJobData
- Object
- KalturaObjectBase
- KalturaJobData
- KalturaEventNotificationDispatchJobData
- Kaltura::KalturaEmailNotificationDispatchJobData
- Defined in:
- lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb
Instance Attribute Summary collapse
-
#bcc ⇒ Object
Email bcc emails and names, key is mail address and value is the name.
-
#cc ⇒ Object
Email cc emails and names, key is mail address and value is the name.
-
#confirm_reading_to ⇒ Object
Email address that a reading confirmation will be sent to.
-
#custom_headers ⇒ Object
Adds a e-mail custom header.
-
#from_email ⇒ Object
Define the email sender email.
-
#from_name ⇒ Object
Define the email sender name.
-
#hostname ⇒ Object
Hostname to use in Message-Id and Received headers and as default HELO string.
-
#message_id ⇒ Object
Sets the message ID to be used in the Message-Id header.
-
#priority ⇒ Object
Define the email priority.
-
#reply_to ⇒ Object
Email addresses that a replies should be sent to, key is mail address and value is the name.
-
#to ⇒ Object
Email recipient emails and names, key is mail address and value is the name.
Attributes inherited from KalturaEventNotificationDispatchJobData
#content_parameters, #template_id
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#bcc ⇒ Object
Email bcc emails and names, key is mail address and value is the name
333 334 335 |
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 333 def bcc @bcc end |
#cc ⇒ Object
Email cc emails and names, key is mail address and value is the name
330 331 332 |
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 330 def cc @cc end |
#confirm_reading_to ⇒ Object
Email address that a reading confirmation will be sent to
342 343 344 |
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 342 def confirm_reading_to @confirm_reading_to end |
#custom_headers ⇒ Object
Adds a e-mail custom header
353 354 355 |
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 353 def custom_headers @custom_headers end |
#from_email ⇒ Object
Define the email sender email
321 322 323 |
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 321 def from_email @from_email end |
#from_name ⇒ Object
Define the email sender name
324 325 326 |
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 324 def from_name @from_name end |
#hostname ⇒ Object
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’.
346 347 348 |
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 346 def hostname @hostname end |
#message_id ⇒ Object
Sets the message ID to be used in the Message-Id header. If empty, a unique id will be generated.
350 351 352 |
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 350 def end |
#priority ⇒ Object
Define the email priority
339 340 341 |
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 339 def priority @priority end |
#reply_to ⇒ Object
Email addresses that a replies should be sent to, key is mail address and value is the name
336 337 338 |
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 336 def reply_to @reply_to end |
#to ⇒ Object
Email recipient emails and names, key is mail address and value is the name
327 328 329 |
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 327 def to @to end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
359 360 361 362 363 364 365 366 367 368 369 370 371 372 |
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 359 def from_xml(xml_element) super self.from_email = xml_element.elements['fromEmail'].text self.from_name = xml_element.elements['fromName'].text self.to = KalturaClientBase.object_from_xml(xml_element.elements['to'], 'KalturaEmailNotificationRecipientJobData') self.cc = KalturaClientBase.object_from_xml(xml_element.elements['cc'], 'KalturaEmailNotificationRecipientJobData') self.bcc = KalturaClientBase.object_from_xml(xml_element.elements['bcc'], 'KalturaEmailNotificationRecipientJobData') self.reply_to = KalturaClientBase.object_from_xml(xml_element.elements['replyTo'], 'KalturaEmailNotificationRecipientJobData') self.priority = xml_element.elements['priority'].text self.confirm_reading_to = xml_element.elements['confirmReadingTo'].text self.hostname = xml_element.elements['hostname'].text self. = xml_element.elements['messageID'].text self.custom_headers = KalturaClientBase.object_from_xml(xml_element.elements['customHeaders'], 'KalturaKeyValue') end |