send mail from terminal kubuntu linux


ok you need to send an email properly ? you need to do this

i am using kubuntu so when i test mail or mailx i can do what i want but i get some problems that because i have a wrong version of mailx and so you need to install this one

sudo apt-get install heirloom-mailx 

now we need to create a file in $HOME/.mailrc so :

kate $HOME/.mailrc  

put this stuff here :

account gmail {
set smtp-use-starttls
set smtp=smtp://smtp.gmail.com:587
set smtp-auth=login
set smtp-auth-user=MYUSERNAME@gmail.com
set smtp-auth-password=MYPASSWORD
set from="NAME OR WHAT YOU WANT"
}

ok now :

echo "my shell email" | mailx -v -A gmail -s "Thi is a title" TARGET_MAIL@gmail.com 

You should see this :

Resolving host smtp.gmail.com . . . done.
Connecting to 74.125.136.108:587 . . . connected.
220 mx.google.com ESMTP mx19sm2120686wic.3 - gsmtp
>>> EHLO sem-SVE1512Y1ESI
250-mx.google.com at your service, 
BLA BLA BLA 
..
..
250 2.0.0 OK 1409139516 mx19sm2120686wic.3 - gsmtp
>>> QUIT
221 2.0.0 closing connection mx19sm2120686wic.3 - gsmtp

instead if you want just test shortly this mail stuff without authentification :

use this :
BUT IT WILL GO IN THE SPAM FOLDER …. SO THIS IS NOT RECCOMENDED

echo "This is the body" | mail -s "This is the subject" TO_USER@gmail.com -- -f FROM_USER@gmail.com

akonadi doesn’t start


try this

rm -rf ~/.local/share/akonadi/

my error was this

Query error: "Access denied for user ''@'localhost' to database 'akonadi' QMYSQL: Unable to execute query"

run flash swf game with linux without browser


 

we will test this with this flash :

http://www.classicgamesarcade.com/game/21594/classic-street-fighter-2-flash-game.html

open that page WITH FIREFOX , then go

TOOLS > INFO PAGE > MEDIA > SEARCH FOR SWF FILE > save the file where you want .

 

videodl2

 

i am using 64bit system , what you need it’s :  FLASH PROJECTOR, and for the test i choose a game, that i found searching flash games. to download the swf file just go with firefox to it’s own url for example

download the flash player projector here  and install what you need ; if you don’t trust me just read down why i have installed those packages , not quite sure but probably you would need those.

wget http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_sa.i386.tar.gz ; sudo apt-get install libnss3:i386  libgtk2.0-0:i386 libcurl3:i386
  • sudo apt-get install libnss3:i386  , if you get this shit  flashplayer: error while loading shared libraries: libssl3.so: cannot open shared object file: No such file or directory
  • libgtk2.0-0:i386 if you have  flashplayer: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
  •   libcurl3:i386 if you get this shit : (flashplayer:13450): Gtk-WARNING **: Unable to locate theme engine in module_path: “oxygen-gtk”, (flashplayer:13450): Gtk-WARNING **: Unable to locate theme engine in module_path: “oxygen-gtk”, (flashplayer:13450): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer (flashplayer:13450): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion ‘G_TYPE_CHECK_INSTANCE (instance)’ failed

 

now you can put that flash player on your $HOME/bin and use it liek you want

Follow

Get every new post delivered to your Inbox.