Author Topic: how to run mail command? [ Solved]  (Read 530 times)

0 Members and 1 Guest are viewing this topic.

Offline Hayder

  • Full Member
  • ***
  • Posts: 146
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
how to run mail command? [ Solved]
« on: August 26, 2016, 06:14:11 pm »
Hello
I try to use mail command, but after i type mail in terminal the system suggest to install it by apt-get install mailutils
Ok its downloaded but need some configuration

http://imgur.com/a/3V8sn

i try  to configure it but i got this picture each time
« Last Edit: August 26, 2016, 08:30:44 pm by Hayder »

Offline nomko

  • Jr. Member
  • **
  • Posts: 27
  • Karma: 1
  • Gender: Male
  • Using Linux since Ubuntu version 7.04
    • View Profile
    • Tips for Linux
    • Awards
Re: how to run mail command? [ Solved]
« Reply #1 on: September 02, 2016, 01:09:12 pm »
Hi,
 
I noticed you marked your thread as solved.
Could you inform us how you solved your problem?
thanks!
MSI GE70-2PE Hybrid laptop:
Quad core Intel Core i7-4710HQ*Kingston 16 GB RAM*Intel 4th Gen. Integr. GPU/NVidia GeForce GTX860M*Qualcomm Atheros Killer E2200/Intel Wireless 3160*128 GiB SSD*1 TB HDD*17.3" Full HD anti-glare LCD panel

Offline Hayder

  • Full Member
  • ***
  • Posts: 146
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: how to run mail command? [ Solved]
« Reply #2 on: September 02, 2016, 07:55:49 pm »
Hello
 I try to run mail then address but i fail, so
- install ssmtp

sudo apt-get install ssmtp

- then edit config  file


gksu gedit /etc/ssmtp/ssmtp.conf


- add your email preferences

root=username@gmail.com
mailhub=smtp.gmail.com:465
rewriteDomain=gmail.com
AuthUser=username
AuthPass=password
FromLineOverride=YES
UseTLS=YES

- then

email name@mail.com

I think this is the steps




 


SimplePortal 2.3.3 © 2008-2010, SimplePortal