Skip to content

OGo Docs

Sections
Personal tools
You are here: Home » Members » helge » WebUI » Mail Generation using Components

Mail Generation using Components

Document Actions
The OGo Webmailer does generate customized mails using the usual component mechanisms of WebUI. The components are located using the "activation" system using various verbs.

Write much more ...

Verbs

  mailview
  htmlMail
  textMail
  link-inline-preview

Example:

      { 
        verb = mailview; type = "eo-pkey/date";
        component = LSWAppointmentHtmlMailPage; 
      },
      {
        verb = htmlMail; type = "eo/date";
        component = LSWAppointmentHtmlMailPage; 
      },
      { 
        verb = textMail; type = "eo/date";
        component = LSWAppointmentTextMailPage; 
      },
      
      {
        verb      = link-inline-preview;
        type      = "eo-gid/date";
        component = LSWAppointmentHtmlMailPage; 
      }

Implementation

Most mail components inherit from LSWObjectMailPage and most mail components have one subclass for HTML mails and another one for plaintext mails.
Example:

  WOComponent (NGObjWeb)
    OGoComponent (OGoFoundation)
      LSWObjectMailPage (OGoFoundation)
        LSWAppointmentMailPage (LSWScheduler)
          LSWAppointmentHtmlMailPage (LSWScheduler)
          LSWAppointmentTextMailPage (LSWScheduler)
Created by helge
Last modified 2003-12-23 11:43 AM
 

Powered by Plone

This site conforms to the following standards: