LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 05-08-2011, 02:14 AM   #1
golden_boy615
Member
 
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 443

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


hello
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:
Quote:
ssmtp icfgdgfdkasdgfsdfsd@gmadfgdfil.com < /root/ssmtptest.txt
echo $?
0
ssmtp mymail@gmail.com < /root/ssmtptest.txt
echo $?
0
 
  


Reply


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 06:45 AM
Beating my head against the email wall - cannot receive email dazed-and-confused Linux - Server 16 09-02-2008 06:14 AM
POSTFIX Email Can't Receive External Email carlosinfl Linux - Server 2 10-15-2007 07:00 AM
email 'send' NO - email 'receive' YES..? captain skywave Linux - Wireless Networking 4 04-23-2005 04:35 AM
email 'send' YES - email 'receive' NO..? captain skywave Linux - Wireless Networking 1 04-22-2005 06:23 AM


All times are GMT -5. The time now is 06:16 AM.

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