[Seaside] Configure WAEmailConfiguration programmatically?

Jan van de Sandt jvdsandt at gmail.com
Mon Oct 24 19:23:00 UTC 2011


Hello Marco,

You can set these attributes via the #preferenceAt:put: message:

application
preferenceAt: #smtpPort put: 2345 ;
preferenceAt: #smtpServer put: 'localhost' ;
etc ....

You can get a referende to the application via WADispatcher default
handlerAt:

Jan.


On Mon, Oct 24, 2011 at 9:15 PM, Marco A. Gonzalez <marcoinc at mac.com> wrote:

> Using "config" application, I was able to successfully set the following
> attributes of the WAEmailConfiguration and successfully able to send email
> via my local development machine.
>
> SMTP Server password
> SMTP Port
> SMTP Server
> SMTP Server user name
>
> My question is... how can I set these values programmatically instead of
> using the GUI?
>
> - Marco A.
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20111024/adf10c06/attachment.htm


More information about the seaside mailing list