Creating a Send To Menu Entry for Opera M2 Email Client
Tuesday, 27. June 2006, 21:53:51
The ProblemEver wondered why you can not use windows-explorer's "Send To" Menu to attach one or multiple files to a new Email message within Opera's great Mailclient M2? Well, I did so and finally yesterday night I throw all the infos and ideas together and wrote a small computer program to extend Opera with this feature. If you missed that feature as well, you can just download and install it now.
Download
Note: my.opera.com has removed the .exe file - I don't know why. You can grab the AHK source code instead and compile it with the AHK compiler.
M2sendto.Setup.exe
204 KB, v 0.4.1, Windows Executable
MD5: b73bb3cc02977ccf297192350d529dfd
M2sendto.ahk
28 KB, v 0.4.1, AHK Source
MD5: 7de771f7570cbe68e71431586966fe08
Setup
Setup is really easy since version 0.2. Just download, execute and follow instructions (basically it's pressing the Install button). Afterwards the only thing left to do is to ensure that opera gets the new CTRL + A hotkey within the compose message window.
If you want to use the AHK file, take a look in the development forums. Right now it is not well supported but this is the aim of the next update.
Setup: Hotkey
You can add it in Operas Preferences. It's the Keyboard section under the Advanced Tab:

Simply add a new shortcut. Afterwards it should look like this:

Now everything is setup and you can enjoy your missed Send To Menu command right away again.
Questions, Comments and Ideas
Are always welcome, feel free to use the Comments here or send me a Message. All this will help improving M2sendto. There is a Forum dedicated to the tool and you can checkout the Frequently Asked Questions (FAQ).
How does it work?
Indeed it's quite easily solved: M2sendto.exe, the small helper tool within this project, listens to your commands in the send to menu. In the event you want to have files attached and you use the send to menu it will take care that opera attaches these files by doing the following:
- If Opera is not started it will be started
- A new compose message window is opened (shortcut CTRL + E)
- Each file will be attached (shortcut CTRL + A)
As you can see, you can add attachments to emails with the send to menu again as with other mailclients like thunderbird, eudora or others.
Additionals
Changelog & Roadmap
Can be found here
Upgrading from 0.3 to 0.3.x and from 0.3.x to 0.3.x
Simply run setup and "say ok" to uninstall first.
Upgrading from 0.2 to 0.3
Simply run 0.3 setup and uninstall previous version at the beginning (first question). That's it.
Upgrading from 0.1 to 0.2
Just delete everything you created since yesterday (well, you can leave AutoHotkey on your computer, but you can delete the script and the one .lnk file within the send to folder) and then install the new version.
Version 0.4 Download
M2sendto.Setup.exe
204 KB, v 0.4, Windows Executable
MD5: 5544b76acc0357bf7600d7447d054d34
Version 0.3.6 Download
M2sendto.Setup.exe
202 KB, v 0.3.6, Windows Executable
MD5: a51d4278c0f1bfb18607833e76c515bf
Version 0.3.5 Download
M2sendto.Setup.exe
201 KB, v 0.3.5, Windows Executable
MD5: b4014c1ea5c864bd4b805666a88e8919
Version 0.3 Download
M2sendto.Setup.exe
201 KB, v 0.3, Windows Executable
MD5: 7be1b1b9956da4061386c7c828e8d549
Version 0.2 Download
M2sendto.v0.2.Setup.exe
200 KB, Windows Executable
MD5: 8558ad24920a5253da647bb6f7ee71d0
Version 0.1 Download
This version is just available for historical reasons. Do not download if you don't know what to do with it.
opera.attach.v0.1.ahk















MarcFou # 27. June 2006, 23:04
Dv108 # 1. July 2006, 07:56
MarcFou # 1. July 2006, 08:01
moo # 1. July 2006, 08:55
szyk # 1. July 2006, 10:43
Edit: OK, I used File Monitor - I created C:\Sendto directory and I can install M2sendto now.
hakre # 1. July 2006, 13:23
Details: M2sendto looks for your profiles environment variable (%USERPROFILE%) to locate the SendTo folder. Win9x/ME do not have this value. Because M2sendto does not validate this carefully enough, it will return internally "\Sendto" as SendTo Directory (as displayed within the square brackets in your errormessage) and until c:\SendTo (or X:\SendTo if you execute it on drive X) does not exists the Installation Error is thrown. This is a Bug.
szyk # 1. July 2006, 21:12
EDIT: it works only when I set english language in Opera.
gun # 1. July 2006, 21:55
@hakre: Could this be fixed also? Why is it depending on laguage at all? Could you describe in detail what your programm is doing (or make it open source
Would be great if it doesn't need an additional entry in send to. It would be better to register the programm as a normal MAPI mail-client itself which then acts as a wrapper. Would this be possible?
moo # 1. July 2006, 23:00
hakre # 2. July 2006, 02:07
@moo: Both Hotkeys CTRL+A and CTRL+E are hardencoded right now, but this will change in v0.4.
@all: Do hotkeys differ per language?
@gun: A true MAPI extension on top of M2sendto has been planned and already tested. Get more infos in the "M2 goes MAPI" article.
szyk # 2. July 2006, 08:47
Originally posted by hakre:
It is attached for english language.
Originally posted by hakre:
No. When you change language in browser to non-english, then M2sendto works?
When M2sendto can't add attachment, it remains in processes. :|
legman # 2. July 2006, 10:43
If I choose a file through the context menu Opera M2 open a window but without the attachment.
What is wrong?
andreas
hakre # 2. July 2006, 11:48
For upcomming Bugreports and Issues, I thought it's far better to have Issues discussed in a forum rather then in Comments. Feel free to use
http://my.opera.com/m2/forums/tgr.dml?id=1563 right away if the place here seems to be unfitting.
legman # 2. July 2006, 22:05
Ok I will use the forum next time. So my problem is already known (add attachment hotkey problem)?
cenebris # 8. July 2006, 15:52
hakre # 8. July 2006, 16:33
yarrecco # 2. August 2006, 02:14
I know, we are minority but as long as people will make and develop small programs supporting Windows as long Bill G will be happy :-)
hakre # 30. August 2006, 23:23
tatepa # 5. September 2006, 14:23
This is the box...
http://files.myopera.com/tatepa/files/error.GIF
hakre # 7. September 2006, 08:32
colmack # 9. September 2006, 21:33
If I try to add file attachments, Opera won't open if it's not already - I got the impression that it should
I always get a message tatepa describes above. If I click OK, the file(s) are added as attachments correctly, but only sometimes
Otherwise I've found that Ctrl+A will add the files
vorty # 25. September 2006, 12:18
Thanks for the trick, though!
Anonymous # 18. October 2006, 04:04
I installed it to work with the "reply to" in Poptray. It works fine if Opera is closed, but if Opera is open it merely switches you back to Opera. Is this how it is supposed to work or am I not doing something right?
Shoham # 3. November 2006, 08:56
My problem is, and it may be a problem with Opera and not with M2SendTo is that it will only work if Opera is already open in a mail window. If no tabs are open or a browser tab is active, even if a mail window is open in the background, a compose window will not open. This may have to do with the fact that I cannot compose mail except from the compose button inside the mail viewer window (`unread`). All other compose buttons are not working for me. which is mighty strange. I couldn't find the reason for this. Does anyone have an idea why this could be?
Anonymous # 21. January 2007, 19:58
M2SendTo is great! Thank you! Only we must change our cs.lng file to english.lng.
Does M2SendTo work with Word(2002? Is there any possibility to add documents directly from it? Thanks
tatepa # 8. February 2007, 13:46
Great work hakre!
hakre # 14. February 2007, 10:45
Zalex108 # 2. March 2007, 16:18
Realyy usefull!!
Anonymous # 11. June 2007, 09:31
It works fine with my language if i add this line to my opera6.ini in profile-folder:
Language File=F:\Programme\Opera\7\locale\de\de.lng
Anonymous # 8. October 2007, 19:24
There is another MAPI extension for Opera:
http://www.joonis.de/mapi4opera
anobis_911 # 23. October 2007, 12:10
I can't download M2sendto.Setup.exe.
I'm getting the message "You don't have permission to access /hakre/blog/M2sendto.v0.4.1.Setup.exe on this server".
Please help me.
Bye.
ersi # 29. April 2009, 17:18
mrLobster # 26. October 2009, 14:10
Originally posted by ersi:
I feel you, man.... ;-) One of the million things one just hasn't gotten around to yet...year after year...
Hmmm...perhaps I should try it, and see if it works with Opera 10 and Win7 before commenting, but what the hell...
Anonymous # 7. November 2009, 17:47
Can't download from Opera 10
mrLobster # 16. November 2009, 14:06