Hi Paolo
Thank you.
The POP test script is working now for plain text emails. I downloaded
and installed 2.3.6 and ran the POP test script and it works for a plain
text email. If I send it an HTML email then it falls over.
I don't need HTML email for my app but for reference the error is below...
--------------------------
[ projects_smalltalk]$ gst -i pop2.st
"Global garbage collection... done"
Loading package TCP
Loading package SUnit
Loading package NetClients
Recompiling classes...
New messages: 2
bytes 3240
ids (1 2 )
sizes LookupTable (
1->1620
2->1620
)
An instance of NetClients.MIME.MimeEntity
parent: nil
fields: Dictionary (
'user-agent'->User-agent: Thunderbird 2.0.0.6 (Macintosh/20070728)
'subject'->Subject: mailping
'from'->From: emailer name<[EMAIL PROTECTED]>
'mime-version'->Mime-version: 1.0
'received'->Received: from mailer.localnet (mailer.localnet
[172.16.3.40]) by mailsvr.acompany.net (Postfix) with ESMTP id
960461E07A9 for <[EMAIL PROTECTED]>; Wed, 5 Sep 2007 10:36:19 +1200
(NZST)
'content-type'->Content-type: multipart/alternative;
boundary="------------060706090601030305000906"
'return-path'->Return-path: <[EMAIL PROTECTED]>
'date'->Date: Wed, 05 Sep 2007 10:38:02 +1200
'to'->To: [EMAIL PROTECTED]
'x-sieve'->X-sieve: CMU Sieve 2.2
'message-id'->Message-id: <[EMAIL PROTECTED]>
)
body: (Content-transfer-encoding: 7bit
Content-type: text/plain; charset=ISO-8859-1; format=flowed
--
Regards
emailer name
*Company*
Phone
Content-transfer-encoding: 7bit
Content-type: text/html; charset=ISO-8859-1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<div class="moz-signature">-- <br>
<font face="Helvetica, Arial, sans-serif">Regards<br>
emailer name<br>
<font color="#cc6600"><b>Company</b></font><br>
<font color="#333333"><br>
</font><small><font color="#333333">Phone </font></small></font>
<br>
</div>
</body>
</html>
)
Object: POPProtocolInterpreter new "<-0x4c03f2a8>" error: Protocol error:
NetClients.ProtocolError(Exception)>>#signal
NetClients.ProtocolError(Exception)>>#signal:
NetClients.POP.POPProtocolInterpreter(NetClients.NetProtocolInterpreter)>>#protocolError:
[] in NetClients.POP.POPProtocolInterpreter>>#checkResponse:
NetClients.POP.POPProtocolInterpreter>>#checkResponse:ifError:
NetClients.POP.POPProtocolInterpreter>>#checkResponse:
NetClients.POP.POPProtocolInterpreter(NetClients.NetProtocolInterpreter)>>#checkResponse
NetClients.POP.POPProtocolInterpreter>>#popRetrieve:
NetClients.POP.POPClient>>#getNewMailMessages:delete:
[] in NetClients.POP.POPClient class>>#exampleHost:username:password:
BlockClosure>>#ensure:
NetClients.POP.POPClient class>>#exampleHost:username:password:
UndefinedObject>>#executeStatements
Object: POPProtocolInterpreter new "<-0x4c03f2a8>" error: Protocol error:
NetClients.ProtocolError(Exception)>>#signal
NetClients.ProtocolError(Exception)>>#signal:
NetClients.POP.POPProtocolInterpreter(NetClients.NetProtocolInterpreter)>>#protocolError:
[] in NetClients.POP.POPProtocolInterpreter>>#checkResponse:
NetClients.POP.POPProtocolInterpreter>>#checkResponse:ifError:
NetClients.POP.POPProtocolInterpreter>>#checkResponse:
NetClients.POP.POPProtocolInterpreter(NetClients.NetProtocolInterpreter)>>#checkResponse
NetClients.POP.POPProtocolInterpreter>>#popQuit
NetClients.POP.POPClient>>#logout
NetClients.POP.POPClient(NetClients.NetClient)>>#close
[] in NetClients.POP.POPClient
class>>#exampleHost:username:password:<disabled>
BlockClosure>>#ensure:
_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk