Bug 6798

Summary: Make koha-create send email with details of created site
Product: Koha Reporter: Magnus Enger <magnus>
Component: PackagingAssignee: Magnus Enger <magnus>
Status: CLOSED WONTFIX QA Contact: Bugs List <koha-bugs>
Severity: enhancement    
Priority: P5 - low CC: katrin.fischer
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Magnus Enger 2011-08-27 10:03:01 UTC
The packages are so awesome, it takes way longer to tell someone you set up an instance for them, than to create the actual instance. So why not make koha-create do even more of the work? 

I'm thinking of adding two more options: 

--emailto = Make koha-create send an email to the given address that contains the URLs for OPAC and intranet, username and password. This could be someone who is going to use the instance, or yourself, for future reference or forwarding to whoever needs it. 

--emailtemplate = point to a custom template for the email, instead of the default one. 

I'm thinking both of these could be set in the configfiles, as well as on the command line. If you have two different configfiles you might want to have different email templates for each of them. 

The one usecase I can think of for having the email in a configfile is if you want to send the details of created instances to yourself, either just as a reminder or for forwarding to whoever else needs the information. 

Sending the password in an email like this might be A Bad Thing, but the passwords are supposed to be temporary anyway, right?