Forum OpenACS Development: Re: Adding email alerts to general comments

Collapse
Posted by Jade Rubick on
It looks like people have had difficulty with adding email notifications to general-comments is for architectural reasons.

General comments are usually created using the general_comments_create_link proc, which makes a URL for the person to click on. The biggest problem with the approach I've outlined so far is that if I pass in the email addresses, they have to go into the URL, which leaks the email addresses. That's fine for the application I'm working on, but I think others might consider that to be a bug.

So maybe the best option is for project manager to have it's own comment creation page. After the comment is created, then it will send out an email. It's easy to do this within project-manager -- I was just hoping to solve a general problem instead of just a specific one.

If anyone else has a better idea, I'll implement it this right now. But otherwise, I'm going to just stick this code in project-manager.