[Building Sakai] adding 100s of guest accounts as non-participants

Steve Swinsburg steve.swinsburg at gmail.com
Thu Oct 8 16:48:07 PDT 2009


Does the notifyNewUserEmail=true property only work for accounts that  
are created via the Site Info > Add Participants section?

Or does it also work when accounts are created via the Users tool or  
even new Account tool for self registration?
ie:
http://jira.sakaiproject.org/browse/SAK-15570
"It would be nice to have a checkbox that one could click when  
creating a new user account (in the Admin New User tool) that, when  
submitted, sent out an email to the user whose account was just  
created with details of their username, password, how and where to  
login and how to change their password once they are logged in. "

cheers,
Steve


On 09/10/2009, at 6:43 AM, Zhen Qian wrote:

> As far as I can tell, there are two emails that would be sent for  
> new users. And you can see the email content from tomcat log file by  
> setting "testMode at org.sakaiproject.email.api.EmailService=true".
>
> Following are examples from my local instance:
>
> 1. The email to notify them that Sakai account has been created:
>
>
> "2009-10-08 15:39:02,728  INFO http-8080-Processor19  
> org.sakaiproject.email.impl.BasicEmailService - send: from:  
> postmaster at localhost to: test at test.com subject: LocalSakaiName New  
> User Notification  headerTo: test at test.com replyTo: test at test.com  
> content:
>
>  Dear test at test.com,
>
>  An account on LocalSakaiName (http://localhost:8080/portal) has  
> been created for you by Sakai Administrator. To access your account:
>
>
>         1) Go to:
>
>                 http://localhost:8080/portal
>
>
>         2) Login using:
>
>                 User Id:        admin
>
>                 password:       1976419312
>
>  You can change your password ater you have logged  in, using the  
> Account tool in your MyWorksace.
>
>
>  (This is an automated message from LocalSakaiName.)
>
>  additionalHeaders: [Precedence: bulk]"
>
> 2. The second one is to remind him that he has been added into  
> current site:
>
>
> "2009-10-08 15:39:02,756  INFO http-8080-Processor19  
> org.sakaiproject.email.impl.BasicEmailService - send: from:  
> postmaster at localhost to: test at test.com subject: LocalSakaiName Site  
> Notification headerTo: test at test.com replyTo: test at test.com content:  
> Sakai Administrator:
>
>
>         Once you have your guest account, you can log in to  
> LocalSakaiName:
>
> 1. Open   LocalSakaiName : http://localhost:8080/portal
>
> 2. Click the Login button.
>
> 3. Type your guest account login and password, and click Login.
>
> 4. Go to the site, click on the site tab. (You will see two or more  
> tabs in a row across the upper part of the screen.)
>
>  additionalHeaders: [Precedence: bulk]"
>
> I think there is a param that controls whether auto-generated user  
> password gets sent or not. But I couldn't find it now, and the  
> password is embedded in the first notification email.
>
> Thanks,
>
> - Zhen
>
> On Thu, 08 Oct 2009 15:12:06 -0400, John Leasia <jleasia at umich.edu>  
> wrote:
>
> I have done hundreds - I'd suggest doing them in batches of a couple  
> hundred. I don't know of a limit - but suggest < 1000 at least (not  
> sure how they are added but there might be a problem with Oracle and  
> > 1000 arguments).  There is an option to send passwords to users  
> added that way in an email - notifyNewUserEmail=true  in  
> sakai.properties to turn on that feature. We don't use that here so  
> I foget exactly how it works - the pwd is included in the email  
> notifying them they've been added to a site, or maybe it's a  
> separate email, I forget.
>
> John
>
>
>
> Ian Goh (Exchange IMAP) wrote:
> Hi Sakai Dev,
>
> One of our groups wants to add possibly hundreds of non-participants  
> to
> a site using email addresses in the non-participant field.  This is  
> for
> an open house, so these "students" wouldn't be in our SIS or even in  
> our
> directory.
>
> Is there a limit to how many email addresses (one per line) you can  
> post
> into the non-participant field?  I've done 100.  But rather than drive
> larger and larger trucks over the bridge until it stops working, does
> anyone know what the limit in the box is?
>
> Also, how to deal with the passwords that get automatically generated?
>
> Anyone done it something similar?
>
> Yours,
>
> - Ian
> _______________________________________________
> sakai-dev mailing list
> 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"
>
>
> -- 
>
> -------------------------------
> Software Developer
> University of Michigan
> 734-647-6343
> -------------------------------
> _______________________________________________
> sakai-dev mailing list
> 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"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20091009/2db20f82/attachment.html 


More information about the sakai-dev mailing list