Can we send email from VA Smalltalk Seaside?

182 views
Skip to first unread message

Louis LaBrunda

unread,
Jun 3, 2011, 5:41:54 PM6/3/11
to va-sma...@googlegroups.com
Hi All,

I can send email from VA Smalltalk with the Totally Objects SocketSet but I am wondering if I can use the WAEmailConfiguration stuff or whatever it is that comes with Seaside.  Is the Seaside email stuff ported to VA Smalltalk?

Lou

marten

unread,
Jun 4, 2011, 4:33:32 AM6/4/11
to va-sma...@googlegroups.com
You may use eMail stuff from SST or what about using Obdobion, EMan (from vastgoodies.com)

Louis LaBrunda

unread,
Jun 5, 2011, 10:01:58 AM6/5/11
to va-sma...@googlegroups.com
Hey Marten,

As I said, I have the Totally Objects SocketSet and have used it for email but it is getting a little long in the tooth (old).  I would like to start using something that comes with VA Smalltalk or is part of Seaside.

Lou

P.S. How did you get your picture to show up on your posts?  I have added a photo but it doesn't show up.  It does show when you hold the mouse of the photo spot.  Is my photo too large?

marten

unread,
Jun 5, 2011, 1:51:19 PM6/5/11
to va-sma...@googlegroups.com
For very basic EMail stuff, look at the Sst Server stuff - otherwise EMan is worth a look.


Julian

unread,
Mar 11, 2012, 12:49:39 AM3/11/12
to va-sma...@googlegroups.com
I know this thread is old, but since EMan was mentioned, I thought I would tag my question on here.

I have been using EMan successfully for a few years now..it works great.
But I now have the need to be able to send EMail using SSL...for example from a GMAIL
account.  When I have tried to use EMan as I have it, I get an error message that informs
me "Must issue a STARTTLS command first".  So I assume I must use SciSslSocket instead
of SciSocket to connect to the SMTP server.  I am not particularly familiar with this...has anyone
tried it?

Totally Objects

unread,
Mar 11, 2012, 9:13:12 AM3/11/12
to va-sma...@googlegroups.com
Hi Lou. And the problem with SocketSet being a 'bit ' old is what? We are still here and listening

David
Totally Objects

Louis LaBrunda

unread,
Mar 13, 2012, 5:05:33 PM3/13/12
to va-sma...@googlegroups.com
Hi Dave,

On Sunday, March 11, 2012 9:13:12 AM UTC-4, Totally Objects wrote:
Hi Lou. And the problem with SocketSet being a 'bit ' old is what? We are still here and listening

David
Totally Objects

Sorry, I didn't mean any offense.  I was just wondering if there was any email package that came with or was recommended for Seaside.  After taking a quick look around I am still using SocketSet of all my socket work including email in all my server code including Seaside apps.

The last time I corresponded with Matt, he said he didn't think you guys had any plans to update SocketSet to IP6.  So far, I don't think I have a need for IP6 but who knows?

I also have some changes to SocketSet that I would love for you guys to add to SocketSet.  Mostly I have changed the way timeouts work.  Instead of timeout time covering the entire operation and throwing an error if the operation doesn't finish on time, I use the time out to cover the last activity.

This way, one can set a timeout at say 30 seconds regardless of how long the operation would take.  If there is no activity for 30 seconds, one can consider the connection dead.  As long as there is activity (on a read or a write) within the 30 seconds, everything is fine.  I have thrown a megabyte (or more) of data at a socket without having to change the timeout and worry if it will finish within the time allotted.  You only have to set the timeout for what ever time of inactivity you want to wait before giving up on the connection.

The code may take some work if you want to remain backward compatible but it is yours if you want it and I willing to help if you like.

Lou 
 

jtu...@objektfabrik.de

unread,
Apr 7, 2012, 1:55:39 PM4/7/12
to va-sma...@googlegroups.com
Lou,

I may be a bit late in this thread but I'm using Sst and its SMTP support with a few extensions to send mails using an SMTP Server. This service uses plain AUTH-LOGIN, so now encryption or SSL or anything. It took me half an hour or two to understand how ESMTP and AUTH-LOGIN work and about a day playing with SST to make it run. The implementation is just one changed line and four lines added, and I used a subclass of SstSMTPConnection for that, but it was not a clever decision. I didn't take the time to see if SMTP servers understand EHLO instead of HELO, because that would mean I can just change the SST class.

Joachim
Reply all
Reply to author
Forward
0 new messages