[squeak-dev] Problem with SMTPClient

Mariano Martinez Peck marianopeck at gmail.com
Wed May 6 13:26:37 UTC 2009


Hi: I am trying to send an email from Squeak. I have ubuntu and postfix smtp
server running in my local machine. I know postfix is running OK. I could do
successfully the following test from a linux console:

220 Servidor ESMTP
HELO localhost
250 Hello, please meet you
MAIL FROM: destinomochila at gmail.com
250 Ok
RCPT TO: matias_dolian at hotmail.com
250 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
Subject: Campo de asunto
From: destinomochila at gmail.com
To: matias_dolian at hotmail.com
Hola,
Esto es una prueba3.
Adiós.
.
quit


However, when I try to do SMTPClient I do something like this:

| message sender recipients |
message := 'From: DestinoMochila <destinomochila at gmail.com>
To: You <marianopeck at gmail.com>
Subject: Simple Mail from Squeak

This is a test mail'.
sender := 'destinomochila at gmail.com'.
recipients := #('marianopeck at gmail.com').
SMTPClient
    deliverMailFrom: sender
    to: recipients
    text: message
    usingServer: '127.0.0.1'


I have no errors, but the email is never send :(

This is the first time I try to use SMTPClient so perhaps I am doing
something wrong.

Any idea?

Thanks in advance,

Mariano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20090506/9158130f/attachment.htm


More information about the Squeak-dev mailing list