A really simple mailmerge application written in ruby.
-
Clone this repository onto your laptop.
-
Install the required gems:
bundle install
-
Edit the
views/mail.erb
template, to contain the contents of the email you want to send. -
Change the
:user_name
and:password
in thePony.options
section ofapp.rb
to your own gmail username (the bit before the@gmail.com
) and password. -
Export your data as a csv file, and copy the csv file into the app folder. Unless the csv file is called
names.csv
, you will need to change thedatafile
variable inapp.rb
-
Run the app:
ruby app.rb
You are writing your email username and password directly into the source code. Make sure you don't accidentally add, commit and push your username and password to github!.