Been there since at least 2.3.6

POP client crashes when an email has an attachment

Sample code ...

<pre>

$ cat ./popTest2.st

  1. ! /usr/bin/gst -f

PackageLoader fileInPackages: #('NetClients')!

   | client host username password popClient |
   host := 'mailhost'.
   username := 'mailuser'.
   password := 'mailpw'.
   client := NetClients.POP.POPClient connectToHost: host.
   [client
       username: username
       password: password.
       client login.
       Transcript showCr: 'New messages: ', client newMessagesCount printString.
       Transcript showCr: 'bytes ', client newMessagesSize printString.

Syndicate content

User login