. .


Smalltalk Daily 09/15/10: Sending Email from Smalltalk

September 15, 2010 7:24:15.185

Today's Smalltalk Daily looks at sending email messages from Cincom Smalltalk. The code used is below; to skip to the video, click here.

msg := MailMessage newTextPlain.
msg from: 'user1@system.com'.
msg to: 'user2@system.com'.
msg subject: 'test mail from VW'.
msg text: 'This is a message test, just ignore it'.
client := SMTPClient host: 'smtp.system.com'.
client user: (NetUser username: username password: password).
client useSecureConnection.
client connect.
client login.
client sendMessage: msg.
client quit.

If you can't see the embedded video directly, you can go directly to YouTube for it. To watch now, click on the viewer below:

You can follow the Smalltalk channel on YouTube for all the "Smalltalk Daily" videos. You can also check out the videos on Vimeo, where the quality is higher, or over on Facebook, if you are a member.

You can download the video directly here. If you need the video in a Windows Media format, then download that here. If you like this kind of video, why not subscribe to "Smalltalk Daily"?

Technorati Tags: ,

posted by James Robertson

 Share Tweet This