r4 - 17 Feb 2006 - 11:52:13 - BlazejPietrzakYou are here: TWiki >  PACE Web  >  TopicPERT > PtsFeaturesRequest > PTSBetterEmailField

More Versatile end-customer e-mail field for the PTS

In the "End Customer (e-mail)" field, only a single e-mail address without comments is permitted. I.e. the following works

    sl@trash.net
but neither of the following does:
    Simon Leinen  <sl@trash.net>
    sl@trash.net (Simon Leinen)
    sl@trash.net, simon@limmat.switch.ch
The full name of the customer is a useful piece of information, and having it presently available in the PTS would support communication with the customer (one of the PTS' goals) because it allows the construction of courteous mails ("Dear Simon, ..." rather than "Dear sl,"). In some cases it would also be useful to be able to address multiple end customers. Therefore I think the PTS should support multiple e-mail addresses here (which means the field must be widened as well).

-- SimonLeinen - 30 May 2005

Developer comments

There are two issues within this request. The first one, is the ability to add personal information to e-mail address. To address this issue the following components must have such ability:

  • Struts Validator
  • InternetAddress class, which represents e-mail address
The latter supports personal information in e-mail address, but unfortunately Struts Validator doesn't. It must be rewritten.

The second issue in this request is ability to specify more than one End Customer. Analogically to previous case two components must have such ability:

  • Struts Validator
  • InternetAddress class

Neither Struts Validator nor InternetAddress class support this feature. Struts Validator must be rewritten. Since InternetAddress represents a single address, further in the code must be the functionally to extract a list of addresses from an string. It is done in WriteEmailAction, where one can send an e-mail as ticket action to multiple recipients.

Effort: 2 man/days (never did Struts validation)

-- BartoszBelter - 13 Dec 2005

-- BlazejPietrzak - 13 Dec 2005

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r4 < r3 < r2 < r1 | More topic actions



 
GEANT2
Copyright © 2004-2005 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.