Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4062050

sun.net.smtp.SmtpClient: to() doesn't keep the "<>" in the user name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 1.4.0
    • 1.1.1
    • core-libs
    • None
    • beta
    • x86
    • windows_nt



      Name: sgC58550 Date: 06/27/97


      I've made a Mailing List Server in java and I'm using the sun.net.smtp.SmtpClient Class (I known, it's not
      the way I should do...).
      A user of my software experienced trouble sending mail to his SMTP server. The problem occured
      because there was no "<>" around the email address sent to the SMTP server (needed something like
      <###@###.###> ).
      I've checked and realized that I could add "<>" in the address passed to the from function and it was
      send with the "<>" to the SMTP server but this didn't work for the to function : the "<>" are removed
      from the e-mail address send to the SMTP server.

      As most of the e-mail softwares (I've tested with Eudora and Netscape Communicator) are sending
      e-mail address between "<>" ( because some SMTP servers can't work without), I think this is a bug.


      company - , email - ###@###.###
      ======================================================================

            jccollet Jean-Christophe Collet (Inactive)
            sgoodsunw Sheri Good (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: