Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
= 2gmail.rb == description * this script enables you to upload to Google Mail (Gmail or Google Apps for Your Domain) you emails after packing them in a mbox file. * you can select a remote folder to send the messages into * full description with screenshots in here: http://blog.tquadrado.com/?page_id=181 * a LOG file is created for you to check possible errors. * if the script stops, you can restart it specifying a STARTING_MESSAGE. == rememeber: * insert your login and password at the end of the script in the login and passwd variables, and save this file. * of couse, be very carefull if you send this to a friend... REMOVE your credentials first! * if you are using Google Hosted for your Domain (Google Apps), your_login is something like: firstname.lastname@example.org * example: go = GoGmail.new($*, 'imap.gmail.com', 993, $*, 'email@example.com', 'littlebird', $*) == ruby: * since mailread.rb was removed from the standard library, please run under Ruby 1.8.7 == usage: $ chmod u+x 2gmail.rb $ ./2gmail.rb MBOX_FILE GMAIL_FOLDER [STARTING_MESSAGE] == examples: $ ./2gmail.rb Inbox tempInbox 250 $ ruby 2gmail.rb Inbox tempInbox 250 $ /path/to/ruby/ruby 2gmail.rb Inbox tempInbox 250 == notice: * v0.9.1 * who: firstname.lastname@example.org * when: 03-dec-2007 * what: this is free software. use. refactor. share. * the author will not be responsible for any bumps during the journey! This was done in some minutes!