How-To: Using the OpenACS Shell to access the OpenACS API
Assumptions:
1. Email is correctly configured on your server
2. OpenACS is configured to send email
3. You have installed OpenACS Developer Support (which includes the OpenACS shell) using the OpenACS Package Manager
OpenACS Developer Support (DS) is a set of tools that can help you develop your web applications, debug problems, test code, and explore the OpenACS API.
Take a look at the following procedure, which we will be using for this short exercise:
http://openacs.org/api-doc/proc-view?proc=acs%5fmail%5flite%3a%3asend
We are going to use this and DS to run a little tcl and execute the code.
Go to developer support on your website (standard location is /ds) and click on OpenACS Shell
Enter the following into the text area (change to and from addresses as needed):
acs_mail_lite::send -to_addr "your.email@address.com" -from_addr "oacs@your.website.org" -subject "The Sweet Taste of..." -body "Success!"
The web page should give you back an address in the Result section of the page that can be used programatically to respond to the email that you sent out and you should have an email in your inbox.
07:25 PM, 13 Feb 2006 by Carl Robert Blesius Permalink | Comments (0)
Startup Service
04:29 PM, 13 Feb 2006 by Ben Koot Permalink | Comments (0)
| February 2006 | ||||||
| S | M | T | W | T | F | S |
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | ||||