Check email successful sent and receive


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Check email successful sent and receive
# 1  
Old 05-08-2018
Check email successful sent and receive

We have a unix/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
# 2  
Old 05-08-2018
What is your definition of mass emailing?
Are you sending 'First Class' mail? That is, the body of every email is different and individually addressed.

Some things that can happen.
Your ISP may block emails from you if you exceed some threshold (maybe 200 per minute).
The recipient may consider your email spam and delete it without reporting it back to you.
Your address book may be out of date.

You might consider using a service like postmarkapp.com.

Javascript has been added to emails to 'call home' when the email is opened, but this is still dependent upon the email client allowing the script to be executed.
# 3  
Old 05-08-2018
What you ask is probably not very practical. For example, you can check to see if you can connect to a remote mail server. But you cannot know what happens to the email once it hits the remote site.

Spam blockers, filters, user settings and all kinds of other things you cannot possibly see may mess up or stall the email. Not to mention the dumb things users do, like delete email and pretend they never got it.

How to check an SMTP connection with a manual telnet session | Port25 Solutions, Inc.

This link shows you how to make a test telnet connect to a remote smtp server on port 25. This is probably the best you can do to validate outgoing email to another server.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Forum Support Area for Unregistered Users & Account Problems

Have yet to receive activation email

Good Afternoon, I attempted to register on this forum yesterday using the username 'DBirks', however I have yet to receive the required activation email. I have checked both my inbox and junk e-mail folder on my email client as well as on owa, but I have not seen any sign of it. I have... (1 Reply)
Discussion started by: Unregistered
1 Replies

2. Shell Programming and Scripting

How to check whether the sftp script is successful??

hi, how can i check whether the sftp connectivity is successful or not?? i am using expect script to connect to sftp.. sftp_script spawn /usr/bin/sftp abc@ftp.xyz.com expect "abc@ftp.xyz.com's password:" send "password\r" expect "sftp>" send "mput *.txt\r" expect "sftp>" send "bye\r"... (8 Replies)
Discussion started by: Little
8 Replies

3. Shell Programming and Scripting

FTP Status check(whether it is successful or not)

Hi Friends I need to check the status of FTP connection i.e. Whether it is successful or not I have tried this by assigning the FTP connection script to a variable and after that using this variable I tried to check the status. In the below code snippet I am trying to assign the FTP... (1 Reply)
Discussion started by: Kannannair
1 Replies

4. Shell Programming and Scripting

How to check if the merge of two files is successful?

Hi All, I have a requirement to check if the merge of files is successful or not. The script to merge files goes like this, cat Rewards_Header Rewards_Siebel_Notif_temp Rewards_Siebel_Remind105_temp > Rewards_Siebel Sometimes, the file Rewards_Siebel misses records from file... (5 Replies)
Discussion started by: anandek
5 Replies

5. Shell Programming and Scripting

Run a script when I receive an email

Hi expert I wish to start a shell script when I receive an email. I modified the aliases file and I add this string as400nag: "|/home/nag-script/startstop/AS400-Boot.sh The solution works . When the as400nag user receive an email the /home/nag-script/startstop/AS400-Boot.sh starts .but... (3 Replies)
Discussion started by: emi65
3 Replies

6. Shell Programming and Scripting

email to group-id is failing to receive

Hi all, The below is the program i used to send a mail. #!/bin/ksh mailaddress=$(cat $HOME/email.txt) (cat | mail -s "TESTING LOAD STATUS on `date`" "$mailaddress") <<EOD ignore. this is a test mail EOD email.txt contains, like below GrouptID@mail.com,IndividualID@mail.com The... (5 Replies)
Discussion started by: Arunprasad
5 Replies

7. UNIX for Dummies Questions & Answers

Can send but not receive email

Hi, One of the users in our company can send but not receive email. We are using SENDMAIL in conjunction with procmail. The funny thing is that all his sent email is in his /var/spool/mail but the email client does not pick anything up! He is using IMAP. Anyone see have any ideas? (2 Replies)
Discussion started by: mojoman
2 Replies
Login or Register to Ask a Question