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

          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?
          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 .
          Hide
          dion gillard added a comment -

          Fixed by EMAIL-54

          Show
          dion gillard added a comment - Fixed by EMAIL-54

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development