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

Zhen Qian zqian at umich.edu
Thu Oct 8 12:43:25 PDT 2009



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  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 [1]
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev [2]

TO UNSUBSCRIBE: send email to
sakai-dev-unsubscribe at collab.sakaiproject.org [3] with a subject of
"unsubscribe"

-- 

-------------------------------
Software Developer
University of Michigan
734-647-6343
-------------------------------
 

Links:
------
[1] mailto:sakai-dev at collab.sakaiproject.org
[2] http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
[3] mailto:sakai-dev-unsubscribe at collab.sakaiproject.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20091008/eb2f8d28/attachment.html 


More information about the sakai-dev mailing list