Home
The Toolkit for Online Communities
12611 Community Members, 0 members online
Log In Register

OpenACS BlogArchive

OpenACS Home : OpenACS Blog : Archive : 2006 : February : 13

How-To: Using the OpenACS Shell to access the OpenACS API

Goal: Use 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

Great, you've managed to get your system up and running. Chances are you're considering what the next step should be. In that case, tell us what you are trying to create, and we'll help you get started.

04:29 PM, 13 Feb 2006 by Ben Koot Permalink | Comments (0)

XML

Archive

February 2006
S M T W T F S
     
10  11 
12  13  14  15  16  17  18 
19  20  21  22  23  24  25 
26  27  28         
April 2007
March 2007
October 2006
March 2006
February 2006
January 2006
December 2005
November 2005
August 2005
July 2005
June 2005
May 2005

Notifications

You may request notification for OpenACS Blog.

Syndication Feed

XML

Recent Comments

  1. Silvio Ernesto: hola
  2. Martin v. Löwis: Cannot run pg_ctl from launchd
  3. Joan Miller: Something Interesting
  4. Hubert Erlmoser: trustpharma.com
  5. Hubert Erlmoser: TRUSTPHARMA
  6. Ben Koot: Selva
  7. LARRY SCOVEL: TRUST PHARMA
  8. Nick Carroll: Theme Selva
  9. Ben Koot: More enhancements
  10. Jane Perez: Trustpharma.com