RE:Email (corrected)
- To: mathgroup at smc.vnet.net
- Subject: [mg24950] RE:[mg24927] Email (corrected)
- From: "Ersek, Ted R" <ErsekTR at navair.navy.mil>
- Date: Thu, 24 Aug 2000 05:08:20 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Earlier I tried to answer a question Mitja Lakner had about sending an Email message from within Mathematica. I have learned that he wants Mathematica start a message and autonomously include some data from the notebook in the message. I suppose that could be done if one can write a C or C++ program which will send a message with something specific in the message. Once you have this program Mathematica could execute it via MathLink. ---------------------- In my earlier message I left something out of the FrontEndExcecute[...] expression that I provided. I think the code below is corrected. Lets say you want to send an Email to me at ersektr at navair.navy.mil When I evaluate FrontEndExcecute[...] shown below on my PC (which has MS-Outlook installed) an Email to myself is started and I can start typing a message. ---------------------- FrontEndExecute[{FrontEnd`NotebookLocate[{URL["mailto:ersektr at navair.navy.mi l"],None}]}] --------------------- As I said before you might want to make a hyperlink that starts an email message. You should be able to easily make a hyperlink that evaluates FrontEndExcecute[...] above. Using Mathematica under Windows 98 I can do the following, and I suspect the steps are very similar under your operating system. -- In a text cell I type the text that I want to use for the hyperlink. -- Next I select the text I want to use for the hyperlink, and make the menu selection ( Input | Create Hyperlink ). -- In the field for "Other Notebook or URL" type mailto:ersektr at navair.navy.mil and click on OK. -- I then have a button that will start an Email to myself when it's clicked on. ------------------------ Regards, Ted Ersek Download Mathematica tips, tricks at http://www.verbeia.com/mathematica/tips/Tricks.html