Difference between revisions of "Sendmail"

From Linuxintro
imported>ThorstenStaerk
(Created page with "Sendmail is a command to send mails from the command line without a need for a GUI based mail program. This way you can send mails in an automated fashion. Basic usage: sen...")
 
imported>ThorstenStaerk
 
Line 5: Line 5:
 
  This is a test mail
 
  This is a test mail
 
  .
 
  .
 +
 +
To see if this mail has been sent use the mailq command:
 +
mailq

Latest revision as of 15:00, 7 February 2012

Sendmail is a command to send mails from the command line without a need for a GUI based mail program. This way you can send mails in an automated fashion.

Basic usage:

sendmail -t recipient@domain.com
This is a test mail
.

To see if this mail has been sent use the mailq command:

mailq