Send Email Reminders To Your Gmail Account With A Hotkey

Windows only: If you frequently send yourself quick email reminders, you can save yourself a lot of time by setting up a shortcut key that sends yourself an email without having to open an email client or browser.

To accomplish this task, we'll need to first grab this VBScript file from Cybernet News and customise it with your email account details — you'll have to put your password into the script, but you can always encrypt the files if you want. The section you'll need to modify looks like this:

'****CONFIGURE THE FROM EMAIL ADDRESS AND PASSWORD Const fromEmail= "[email protected]" Const password= "password" '****END OF CONFIGURATION

Once you've finished that, you'll need to create a new AutoHotkey script in the same folder and paste in the following text, changing the email address to match your own and customising the hotkey to something that you'd prefer — the default one in this script is Win+Alt+E, but you can set it to anything you want.

#!e:: { InputBox, UserInput, Reminder, What do I need to remember?, , 380, 170 If Not ErrorLevel { Run, cscript.exe sendemail.vbs "[email protected]" "%UserInput%" "",, Min } Return }

Once you're done with these two scripts, all you have to do is hit the Win+Alt+E shortcut key, type in your reminder into the box and hit enter — an email will be fired off to your Gmail account with the reminder in the subject line. It's a great timesaver for anybody that sends email reminders to themselves all the time.


Comments

    nothing of the sort for linux?

    Any idea as to how to get this to work behind a firewall? I would normally setup an SSH link with a port forward to smtp.gmail.com port 465 from localhost port 8465 (say), then use my client to connect to localhost:8465 instead of smtp.gmail.com:465. Whereas this works for other tools (Thunderbird etc.), this vbscript just will not sign on correctly using this simple technique. Anyone out there with CDO message skills that know why this would be the case? I'd love to get it working to replace my current setup (blat with an ssl wrapper).

Join the discussion!

Trending Stories Right Now