Cool, I will try this today. :-) Thanks, Tobias! On 26 May 2011, at 01:32, Tobias Pape wrote:
Am 2011-05-26 um 04:51 schrieb Johan Fabry:
Hi all,
as part of an application that I am hacking together (in Seaside), I want mail notifications / confirmations to be sent to people. I was wondering if there is a Pharo (or Squeak) package out there that serves my needs?
As you already are using Seaside, * Add a WAEmailConfiguration to your application and configure it * send a WAEmailMessage like this
| msg | msg := WAEmailMessage from: (WAEmailAddress address: 'test@example.com' username: 'John Doe') to: (WAEmailAddress address: 'bar@example.com' username: 'Jane Doe') subject: 'Email Test'. msg body: 'This is a Test Email. It comes from John Doe who is just testing external mails in Seaside-Pharo-Email. '. msg send.
Best -Tobias
-- Johan Fabry jfabry@dcc.uchile.cl - http://dcc.uchile.cl/~jfabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile