[Seaside] send email with seaside

Philippe Marschall philippe.marschall at gmail.com
Sun Oct 17 10:17:37 UTC 2010


2010/10/17 Simon De Baets <debaetssimon at gmail.com>:
> Hello,
>
> I build a website with seaside3 / pharo.  I want to send email to the users
> of my website but i don't know how can i do this. So how can i send an email
> with seaside?

Nice timing. You need a mail server and the latest Seaside-Email and
Seaside-Pharo-Email (just update them manually).
 1. add a WAEmailConfiguration to your application
  1.1 to go /config
  1.2 go to your application
  1.3 under "Possible parents:" add WAEmailConfiguration
 2. Configure you mail server under EMail, you mail have to open the page again.
 3. (WAEmailMessage
            from: (WAEmailAddress address: 'debaetssimon at gmail.com'
username: 'Simon De Baets')
            to: (WAEmailAddress address:
'seaside at lists.squeakfoundation.org' username: 'Seaside - general
discussion')
            subject: 'send email with seaside')
            body: (WAStringEmailBody string: 'Hello,

I build a website with seaside3 / pharo.  I want to send email to the
users of my website but i don't know how can i do this. So how can i
send an email with seaside?

Thanks,
Simon');
            message send

Cheers
Philippe


More information about the seaside mailing list