You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Dhruva B. Reddy" <sl...@yahoo.com> on 2003/04/09 18:46:02 UTC

Send e-mail Message from Struts Action

I need to send an e-mail message from an Action, and am not sure of the
best way to to make configuration parameters (SMTP server hostname,
From:, Reply-To:, etc.) available to the Action to do this.

One way to do this that comes to mind is to have a Singleton class that
is configured when the application is first loaded.  Could anyone who
has done this before comment on it?

Thanks,
Dhruva

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org