[Seaside] Re: [Pharo-users] Sending mails from within Pharo?
Das.Linux at gmx.de
Thu May 26 05:32:49 UTC 2011
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 at example.com' username: 'John Doe')
to: (WAEmailAddress address: 'bar at 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. '.
More information about the seaside