Commons Email
  1. Commons Email
  2. EMAIL-14

[email] not support content charset gb2312

    Details

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

      Operating System: other
      Platform: Other

      Description

      when i try the example :
      Email email=new SimpleEmail();
      email.setHostName("129.1.1.129");
      email.setAuthentication("admin","1");
      email.addTo("wangjianquan@eastsoft.com.cn", "wjq");
      email.setFrom("admin@wjq.com", "Me");
      email.setCharset("gb2312");
      email.setSubject("²âÊÔ¼òµ¥Óʼþ");
      email.setMsg("ÕâÊDzâÊÔ¼òµ¥Óʼþ");
      email.send();

      the received mail content like "????????????" ,when change Email.TEXT_PLAIN
      = "text/plain" to TEXT_PLAIN = "text/plain;charset=gb2312" , all are right

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development