Skip to content

A simple app template for performing an email mailmerge in ruby

Notifications You must be signed in to change notification settings

code61/mailmerge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby Mailmerge

A really simple mailmerge application written in ruby.

Installation & Usage

  1. Clone this repository onto your laptop.

  2. Install the required gems:

     bundle install
    
  3. Edit the views/mail.erb template, to contain the contents of the email you want to send.

  4. Change the :user_name and :password in the Pony.options section of app.rb to your own gmail username (the bit before the @gmail.com) and password.

  5. 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 the datafile variable in app.rb

  6. Run the app:

     ruby app.rb
    

Warning

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!.

About

A simple app template for performing an email mailmerge in ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages