LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-09-2011, 09:45 AM   #1
conflicker
Member
 
Registered: Sep 2011
Posts: 92

Rep: Reputation: Disabled
SMTP mailer bounce handler..


Anybody has the experience on handling the bounce mail in php?
I'm working with a mailer using smtp and I need to come up with a feature of handling the bounce mail..

Please help..


Regards,

--
Eric
 
Old 12-11-2011, 04:50 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by conflicker View Post
Anybody has the experience on handling the bounce mail in php?
I'm working with a mailer using smtp and I need to come up with a feature of handling the bounce mail.
I guess you've got a problem.
From a technical point of view, a bounce mail is nothing else than an e-mail sent to your originating address. So, to catch the bounce mails, you need a receiving mailbox in the first place. Second, you need a handler that invokes a PHP script of yours each time an e-mail has been received. You then have a chance to examine that message and decide whether it's a bounce mail or something else, and react appropriately.
As you can see, things get pretty sophisticated, because you need full control over your own incoming mail server.

All that would be much easier if all mail servers were configured properly, so that they refuse an e-mail while the sender is trying to deliver it. Then the sender would get a distinct error condition, instead of assuming the delivery was okay and getting a bounce mail later.

[X] Doc CPU
 
  


Reply



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
How to replace the default handler with user defined handler in Linux kernel ? vl chowdary Linux - Kernel 4 04-27-2011 02:09 PM
SIGSEGV handler (segmentation fauld handler) myp Programming 8 03-08-2011 02:17 PM
how to check PHP mailer with SMTP veeramani Linux - Server 0 11-17-2006 12:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:29 PM.

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