one-click-orgs
https://github.com/oneclickorgs/one-click-orgs
Ruby
Create legal organisations with just one click
OcoMailer#create_mail
Helper method to create email according to the following conventions: * the sender is One Click Orgs * there is one recipient * invalid characters will be stripped from the subject line * the subject line will be truncated to 200 chars max * the organisation name will be included in the subject
Edit
git clone [email protected]:oneclickorgs/one-click-orgs.git
cd one-click-orgs
open app/mailers/oco_mailer.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-OcoMailer-create_mail-for-pr
# Commit to gitgit add app/mailers/oco_mailer.rbgit commit -m "better docs for OcoMailer#create_mail"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-OcoMailer-create_mail-for-pr
hub pull-request
# Celebrate!