Commons Email
  1. Commons Email
  2. EMAIL-25

[email] Address char-set can not be individually set

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

      Description

      The commons-email-1.0 release API has a critical flaw: you can't specify char-
      set for individual addresses. This is the case with some Japanese mail systems.

      Currently, org.apache.commons.mail.Email class only has methods like

      addXXXX(String email, String name);

      but no such methods:

      addXXX(String email, String name, String charset);

      In addition, I believe the API should allow

      addXXX(javax.mail.internt.InternetAddress);

      If you want to hide InternetAddress, I don't mind to even have a addXXX(Object).

      Thanks,
      -James Huang

        Issue Links

          Activity

          Error rendering 'com.atlassian.jirafisheyeplugin:fisheye-issuepanel'. Please contact your JIRA administrators.

          Siegfried Goeschl made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          dion gillard made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Hide
          dion gillard added a comment -

          Fixed by EMAIL-54

          Show
          dion gillard added a comment - Fixed by EMAIL-54
          Henri Yandell made changes -
          Affects Version/s 1.0 [ 12311731 ]
          Fix Version/s 1.1 [ 12312230 ]
          Hide
          Ben Speakmon added a comment -

          I've submitted a patch for this issue in EMAIL-54.

          Show
          Ben Speakmon added a comment - I've submitted a patch for this issue in EMAIL-54 .
          Ben Speakmon made changes -
          Link This issue relates to EMAIL-54 [ EMAIL-54 ]
          Henri Yandell made changes -
          Affects Version/s unspecified [ 12311647 ]
          Component/s Email [ 12311114 ]
          Key COM-2527 EMAIL-25
          Project Commons [ 12310458 ] Commons Email [ 12310474 ]
          Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
          Henri Yandell made changes -
          Field Original Value New Value
          issue.field.bugzillaimportkey 37363 12342679
          Hide
          David Eric Pugh added a comment -

          Would you like to submit a patch and a unit test? Basically, what this allows you to do is send a single
          email to multiple recipients, and each recipient gets their own charset for their email?

          Show
          David Eric Pugh added a comment - Would you like to submit a patch and a unit test? Basically, what this allows you to do is send a single email to multiple recipients, and each recipient gets their own charset for their email?
          James Huang created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              James Huang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development