___________________________ DRAG-AND-DROP GMAIL EMAILER ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ INTRODUCTION: ŻŻŻŻŻŻŻŻŻŻŻŻ This DRAG-AND-DROP GMAIL EMAILER was designed and assembled by Aaron in Newcastle, NSW, Australia. It is available in its original form from www.kellybundy.net It is intended for use on Windows XP. However, it may work on other versions of Windows. MY INTENTIONS IN CREATING THIS: ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ I created this DRAG-AND-DROP GMAIL EMAILER to work 'live' from the root of a 'read-only' CD on ANY local CD-ROM drive. Obviously, a CD is 'read-only' media. Importantly, it can also run directly from the memory of a camera, MP3 player, a USB flash-drive, etc. NO installation of any software on the computer! This emailer is extremely portable and versatile. It can be taken with you and safely used from practically ANY Windows computer that is connected to the internet! I used only clean, safe freeware components in this system, so that it can be distributed freely without any concerns for security or licensing. FURTHER: ŻŻŻŻŻŻŻ DRAG-AND-DROP GMAIL EMAILER will NOT copy any files to the computer's drive, other than creating a temporary zip archive from the file/s that you wish to send by email. Even that temporary zip archive is deleted after it is emailed. After setup, simply drag and drop file/s onto '---ğ DROP ONTO THIS Ğ---'. The file/s will be automatically zipped together and emailed via your Gmail account to whatever address you nominate during setup. Let's say you're travelling with a digital camera. You have this emailer system **ON YOUR DIGITAL CAMERA'S MEMORY CHIP.** You use a computer that's connected to the internet, but you don't know if it's safe from key-loggers that could grab your Gmail password. You simply plug in your digital camera, and drag-and-drop its image files onto its resident batch file. They are backed up to your Gmail account's massive storage area WITHOUT YOU TOUCHING THE KEYBOARD! This is a very handy way to backup files whilst away from home. Hereafter in this instruction file, I will refer to the emailer being set up on, and used from a CD. Obviously, if the emailer is used from flash memory, then is no concern for the CD-burning steps mentioned here. Be aware that GMAIL currently has a 10 megabyte limit on the size of emails that it accepts. This includes body and attachments. Therefore, do not exceed 10 megabytes of file/s per action, or the email will be rejected. This problem is overcome by using an alternative version of my batch file, which offers to RAR your files into slices of 9 megabytes each, and email each slice separately. However, RAR is proprietory software and therefore can not be distributed with this package. If you have RAR, contact me for the alternative version of my batch file, which you can use with your own licensed RAR.exe file. TO SET UP YOUR EMAIL DETAILS: ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ Find the file called '---ğ DROP ONTO THIS Ğ---.bat' Right-click the file, and from the contextual menu, choose 'Edit'. (Otherwise, highlight the file and use the top menu bar - File > Edit) This will open the file in Notepad for editing. Find the section marked as: :: ############ EDIT ONLY THE 'SET' LINES BELOW ############ :: Sender SMTP server username and password: SET senderusername=XXXXXX SET senderpassword=YYYYYY SET senderaddress=XXXXXX@gmail.com :: To change SMTP server, open and edit 'stunnel.conf' :: Recipient email address (can be same as sender): SET receiveraddress=ZZZZZZ@gmail.com :: NOTE: Local server IP address and port are set :: in 'stunnel.conf' AND in BLAT section below! :: ############ EDIT ONLY THE 'SET' LINES ABOVE ############ It is obvious where you enter your GMAIL account details and the email address that you will be sending to. The receiver's address can be the same as the sender's. Gmail allows that. That should be all you need to do. 'Save' the changes. If you wish, you can rename that batch file after you've edited and saved it. However, I've already named it in a way that is decriptive of how it is to be used. The file is NOT meant to be double-clicked like a normal file. This will have no effect. OTHER INFORMATION: ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ Most of the files are set with the 'Hidden' attribute. Therefore, you may not be able to see them if you have a default setup. To make the resulting CD as tidy as possible, LEAVE THE HIDDEN ATTRIBUTE ON THEM. However, you'll need to be able to SEE the hidden files in order to choose them for burning onto a CD or copying to flash memory. TO see hidden files, go: My Computer>Tools>Folder Options>View>Show Hidden Files and Folders>OK or Windows Explorer>Tools>Folder Options>View>Show Hidden Files and Folders>OK. In 'stunnel.conf', Gmail's SMTP port is nominated as 465. Port 587 can also be used, but unless there's a problem, don't change it. GMAIL currently has a 10 megabyte limit on the size of emails that it accepts. This includes body and attachments. Therefore, do not exceed 10 megabytes of file/s per action, or the email will be rejected. This problem is overcome by using an alternative version of my batch file, which offers to RAR your files into slices of 9 megabytes each, and email each slice separately. However, RAR is proprietory software and therefore can not be distributed with this package. If you have RAR, contact me for the alternative version of my batch file, which you can use with your own licensed RAR.exe file. While we're on the topic of keeping useful batch files on your digital camera, have a look at *CITY*. CITY is a CAMERA IMAGE TRANSFER UTILITY in one small batch file. Ż Ż Ż Ż It is also available from www.kellybundy.net CREATE THE CD: ŻŻŻŻŻŻŻŻŻŻŻŻŻ Leaving this 'Setup-Instructions.txt' file aside, burn the other 14 files (13 hidden and 1 visible) onto the root of a CD, using standard CD/DVD burning software. Example: Nero. USAGE: ŻŻŻŻŻ Place your finished CD into the CD/DVD drive of a Windows computer. If 'AUTORUN' is enabled on the computer you are using, a 'Windows Explorer' window will open, with '---ğ DROP ONTO THIS Ğ---' visible and ready. If 'Windows Explorer' does not open automatically, open either it or 'My Computer' manually to access the CD. Highlight any files that you wish to zip-and-email. You may need to open a second window to enable dragging from one drive to another. You'll figure it out. Drag-and-drop them onto the CD's file: '---ğ DROP ONTO THIS Ğ---' That's it! If conditions are right, they will be automatically zipped and emailed, via your Gmail account. ASSUMPTIONS: ŻŻŻŻŻŻŻŻŻŻŻ That you are using a normal installation of Windows XP. That you are online when using this emailer. That you are not accessing the internet through a firewalled router or through a proxy. (Is so, you may need to edit the batch file's BLAT section and 'stunnel.conf' to different IP address and/or port number during setup. 127.0.0.1:1099 is the current setting in both 'stunnel.conf' and the BLAT section of the batch file.) FOR YOUR PEACE-OF-MIND: ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ The code in the batch file is visible for all to see. It was designed and assembled by myself (Aaron) in Newcastle, NSW, Australia. I offer it here with the intention of empowering people in their everyday computer usage. Files used in the DRAG-AND-DROP GMAIL EMAILER are all clean, safe, virus-free freeware. Fresh copies of the files can be sourced from the addresses listed below, if you feel the need. However, be aware that my file called 'stunnel.conf' is edited especially for Gmail. Also, if you replace the file called 'stunnel-4.11.exe' with a different version, you will need to re-address the batch file's reference to it. 7ZIP (7za.exe): http://www.7-zip.org/ BLAT (blat.exe, blat.dll, blat.lib): http://www.blat.net/ NIRCMD (nircmd.exe): http://www.nirsoft.net/utils/nircmd.html OPENSSL (openssl.exe, libeay32.dll, libssl32.dll): http://www.openssl.org/ STUNNEL (stunnel-4.11.exe, stunnel.CONF): http://www.stunnel.org/ There is also a simple 'autorun.inf' file, which calls upon a tiny batch file called 'autorunexplorer' to open a 'Windows Explorer' window at the address of the DRAG-AND-DROP GMAIL EMAILER, ready for dragging-and-dropping. These files are also open to inspection. Be aware that 'autorun' will only happen if it is enabled on the computer that your DRAG-AND-DROP GMAILER CD is used on. There is also a simple icon file (autorun.ico) to decorate and indicate the drive where the DRAG-AND-DROP GMAIL EMAILER is present. END ŻŻŻ