Uploaded image for project: 'Commons Email'
  1. Commons Email
  2. EMAIL-14

[email] not support content charset gb2312

    Details

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

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      36856

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                wjq918@hotmail.com locka
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: