I just want to send a mail automatically on clicking an icon. I want to Attach Ping and Trace Report automatically with time stamp to some of the Email Address with some text in the message body. Is it possible ? I am using thunderbird as my email client with ubuntu 10.10.
You could set up the console mailer "postfix".
Depending on what you need and what mail provider you're using, you'll have to do some configuration. The process is described here: https://help.ubuntu.com/community/PostfixBasicSetupHowto#Install%20Postfix . If you happen to speak German there is a more user friendly article: http://wiki.ubuntuusers.de/postfix
Then create a shell script from the template:
This will send the mail "text in email: " followed by the return of the ping command to the address "[email protected]" with the sucject "Some subject".
With a launcher for that script you got your one-click mail. Shoudn't be terribly hard. Might be overkill though.
We do this by using a script and
As an example you could make a script with a ping and a mail with an attachment and a mailbody(with the same information) like this:
And the launcher, icon or a link or what ever you want this to activate it just needs to launch the script.