A really simple mailmerge application written in ruby.
-
Clone this repository onto your laptop.
-
Install the required gems:
bundle install -
Edit the
views/mail.erbtemplate, to contain the contents of the email you want to send. -
Change the
:user_nameand:passwordin thePony.optionssection ofapp.rbto 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 thedatafilevariable 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!.