LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-08-2018, 03:34 AM   #1
sub320
Member
 
Registered: Jan 2016
Posts: 116

Rep: Reputation: 3
Check email is successful sent and receive


We have a linux server , that send mass email from it , the emails will pass the smtp gateway , email server and sent to the client , but sometimes the client do not receive the mail , we do not know the reason and when it will happen .

We would like to have a script that check when the problem happens , for example send a test mail regularly and check if the client is properly recevied it , so that we can know the problem is happening .

if I want to have such function , how to do it

thanks
 
Old 05-08-2018, 04:23 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,461

Rep: Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552
Are the clients going to give you access to their e-mail systems to check successful delivery?

You could include "beacons" but you may find some systems block image / external URLs.

What have you attempted so far?
 
1 members found this post helpful.
Old 05-08-2018, 04:42 AM   #3
sub320
Member
 
Registered: Jan 2016
Posts: 116

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by TenTenths View Post
Are the clients going to give you access to their e-mail systems to check successful delivery?

You could include "beacons" but you may find some systems block image / external URLs.

What have you attempted so far?
Are the clients going to give you access to their e-mail systems to check successful delivery? << == yes

except beacons , use script is good for it ?
 
Old 05-08-2018, 04:46 AM   #4
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,461

Rep: Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552
Quote:
Originally Posted by sub320 View Post
except beacons , use script is good for it ?
Yeah, sure, set up a script to send an e-mail from your server to whatever mailbox you've access to on the client's mail server and then wait a few seconds / minutes / hours and then check the mailbox to see if your mail has arrived.

Nothing particularly difficult there, pick your scripting language of choice and let us know where you have problems.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Only receive email on localhost ; /usr/bin/mail doesn't check Maildir philthomson Linux - Server 3 10-30-2016 06:32 PM
sendmail - new setup; sends email out, but will not receive incoming email rAllcorn Linux - Server 1 02-07-2016 09:33 PM
Nagios - email notification - How to receive alert email? kumaran1983 Linux - Newbie 4 10-20-2011 06:12 AM
how ssmtp email client can receive email delivery golden_boy615 Linux - General 0 05-08-2011 01:14 AM
Beating my head against the email wall - cannot receive email dazed-and-confused Linux - Server 16 09-02-2008 05:14 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:04 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
Open Source Consulting | Domain Registration