Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-08-2011, 01:14 AM   #1
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 445

Rep: Reputation: 18
how ssmtp email client can receive email delivery

I am using ssmtp email client for sending email and it works fine but I want to know how can I check if it sends email correctly or not for example if it can not send email return an error(for example in $? ENV Var) for taking an action. as you can see when I send email to a fake receiver ssmtp returns 0 again the same as when it sends to an existing email:
ssmtp < /root/ssmtptest.txt
echo $?
ssmtp < /root/ssmtptest.txt
echo $?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
POSTFIX Email Can't Receive External Email rkibui Linux - Newbie 5 02-22-2009 05:45 AM
Beating my head against the email wall - cannot receive email dazed-and-confused Linux - Server 16 09-02-2008 05:14 AM
POSTFIX Email Can't Receive External Email carlosinfl Linux - Server 2 10-15-2007 06:00 AM
email 'send' NO - email 'receive' YES..? captain skywave Linux - Wireless Networking 4 04-23-2005 03:35 AM
email 'send' YES - email 'receive' NO..? captain skywave Linux - Wireless Networking 1 04-22-2005 05:23 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration