Commons Email
  1. Commons Email
  2. EMAIL-75

Email.setFrom, addTo should use Email.charset

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.2
    • Labels:
      None

      Description

      Email.addTo() and setFrom() doesn't use Email.charset.

      Code should be as following.

      public Email setFrom(String email, String name)
      throws EmailException
      {
      return setFrom(email, name, this.charset);
      }

      public Email addTo(String email, String name)
      throws EmailException
      {
      return addTo(email, name, this.charset);
      }

        Activity

        Hide
        Ben Speakmon added a comment -

        Agree. Can you provide a patch against the trunk?

        Show
        Ben Speakmon added a comment - Agree. Can you provide a patch against the trunk?
        Hide
        Yu Kobayashi added a comment - - edited

        I created a patch for this issue.

        Show
        Yu Kobayashi added a comment - - edited I created a patch for this issue.
        Hide
        Siegfried Goeschl added a comment -

        Will be part of the 1.2 release

        Show
        Siegfried Goeschl added a comment - Will be part of the 1.2 release

          People

          • Assignee:
            Siegfried Goeschl
            Reporter:
            Yu Kobayashi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development