[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] [bug] Send Mail from within a NetClients socket handler
From: |
Stephen Woolerton |
Subject: |
[Help-smalltalk] [bug] Send Mail from within a NetClients socket handler fails |
Date: |
Thu, 08 Jan 2009 23:36:34 -0700 |
Issue status update for
http://smalltalk.gnu.org/node/277
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/277
Project: GNU Smalltalk
Version: <none>
Component: NetClients
Category: bug reports
Priority: normal
Assigned to: Unassigned
Reported by: swoolerton
Updated by: swoolerton
Status: active
Script crashing when try and send an email from within a server socket
handler.
To reproduce...
Set up a client and server as per...
http://sblinn.jottit.com/gnu_smalltalk_netclients-based_echo_server
At http://smalltalk.gnu.org/blog/swoolerton/mail-scripting-0 there is a
class called SMTPHelper.
To see the fault, set the server atResponse method to something like
this...
respondTo: aRequest [
| session sessionSocket msg smtpHelper |
"sending an email from the aRequest method crashes"
smtpHelper := SMTPHelper new.
SMTPHelper smtpHost: 'myMailHost'.
smtpHelper sendEmailMsg: msg from: fromEmailAddr to: toEmailAddr
subject: 'Test'.
]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Help-smalltalk] [bug] Send Mail from within a NetClients socket handler fails,
Stephen Woolerton <=