Forum OpenACS Development: Re: Strange behaviour with simple form and mail lite

Posted by Matthew Coupe on
I don't think I used the lib include. I just used the acs_mail_lite::send proc with a few parameters.

set subject " Some stuff."
set body "A mail body using some parameters from the form."

acs_mail_lite::send -send_immediately \
-to_addr $email_address($feedback_type) \
-from_addr $email \
-subject $subject\
-body $body

How could I have done a simple send using the lib include?

I'm itching for a mentor... hint hint!


The include would have given you a full e-mail entry form and in the version that resides on HEAD you could send CC and BCC emails as well. So you would not have had to write your ad_form. Other than that the include would not provide you any benefits.