[Building Sakai] Notification on course site creation

Omer Piperdi omer at rice.edu
Thu Jul 28 10:49:18 PDT 2011


Yes. setup.request is the one.

Thanks
Omer

On 7/27/2011 11:24 PM, Zhen Qian wrote:
> Matthew was right. The system support email address is defined by the
> following method in SiteAction.java.
>
> private String getSetupRequestEmailAddress() {
> String from = ServerConfigurationService.getString("setup.request",
> null);
> if (from == null) {
> from = "postmaster@".concat(ServerConfigurationService
> .getServerName());
> M_log.warn(this+ " - no 'setup.request' in configuration, using: "+ from);
> }
> return from;
> }
>
> A couple of emails will be sent during course site creation:
> - If the course site is created with defined roster, one email is sent
> to current session user, and the other will be send to the above setup
> request address.
> - If the course site is created with requested roster, an additional
> third email will be sent to the roster authorizer, besides the above two
> emails.
>
> Thanks,
>
> - Zhen
> On Jul 27, 2011, at 8:08 PM, Matthew Jones wrote:
>
>> Probably *setup.request*? Some of these properties were poorly named.
>>
>> https://confluence.sakaiproject.org/display/DOC/sakai.properties+email+config+(2.x)
>>
>> # Email support address used in incoming email rejection messages.
>> mail.support=address at somedomain
>>
>> # Email address to send errors caught by the portal, and user bug reports in response.
>> portal.error.email=address at somedomain
>>
>> # Email address used as the "from" address for any email sent by Worksite Setup tool or Site Info tool.
>> setup.request=address at somedomain
>>
>> # Send an email to the user when the user is added.
>> notifyNewUserEmail=true
>>
>>
>> On Wed, Jul 27, 2011 at 5:04 PM, Omer Piperdi <omer at rice.edu
>> <mailto:omer at rice.edu>> wrote:
>>
>>     In Sakai 2.8, we have seen an email is being sent out upon Course site
>>     creation. It is going to postmaster at yourdomainname. Is there a way to
>>     specify this email address as a property?
>>
>>     I think it is in sendSiteNotification ,
>>     org.sakaiproject.site.tool.SiteAction.java
>>
>>     Thanks
>>     Omer
>>     _______________________________________________
>>     sakai-dev mailing list
>>     sakai-dev at collab.sakaiproject.org
>>     <mailto:sakai-dev at collab.sakaiproject.org>
>>     http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>>     TO UNSUBSCRIBE: send email to
>>     sakai-dev-unsubscribe at collab.sakaiproject.org
>>     <mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a
>>     subject of "unsubscribe"
>>
>>
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> <mailto:sakai-dev at collab.sakaiproject.org>
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to
>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>> "unsubscribe"
>
> !DSPAM:2294,4e30e4bf56341796731772!


More information about the sakai-dev mailing list