[Seaside] sending emails

Ching de la Serna ching.dls at gmail.com
Sun Jan 6 13:14:52 UTC 2008


Hi Seaside,

I evaluated the following code suggested :

username:= 'userName'.
password:='passWord'.
client := SMTPClient openOnHostNamed: 'mail.mydomain.com' port: 25.
client user: username; password: password; login; initiateSession.
client mailFrom: 'admin at mydomain.com';
     recipient: 'admin at myotherdomain.com';
     data:
'Subject: Hello from SMTPClient!
From: admin at mydomain.com
To: admn at myotherdomain.com
Sending from SMTPClient!'.
client quit.

and I got the following response from the mail server on mydomain.com:
    '503 AUTH command used when not advertised'

Thanks for any solution to this problem,

Ching

On Jan 5, 2008 9:58 AM, Ching de la Serna <ching.dls at gmail.com> wrote:

>
>
> On Jan 4, 2008 7:31 PM, Michael Davies <mykdavies+squeak at gmail.com> wrote:
>
> > On Jan 4, 2008 7:06 AM, Randal L. Schwartz <merlyn at stonehenge.com>
> > wrote:
> > > >>>>> "Ching" == Ching de la Serna < ching.dls at gmail.com> writes:
> > >
> > > Ching> Do I need some sort of login/authentication code to access my
> > mail server
> > > Ching> at: 'some.from at address.com '?
> > >
> > > Only your ISP's admin will know the answer to that.  Not us.
> > >
> >
> > There's a good post at http://blog.saush.com/?p=199 on this topic,
> > which specifically mentions authentication.
>
>
> Thanks a lot, Michael,  Randall
>
> >
> > _______________________________________________
> > seaside mailing list
> > seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20080106/99a0cff6/attachment.htm


More information about the seaside mailing list