Re: php mail() question
| From: | JeRRy | Date: | Wed, 17 Dec 2003 00:04:35 +0000 |
| Subject: | Re: php mail() question | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-32090@lists.php.net to get a copy of this message | ||
Jerry,
Actually I just relised what you meant. :P And that
would work great by having it like that.. Something
like this would work fine.
If the email bounces return it to
username_at_domain_etn@getpaid2reademails.com
So I would set the sender as whatever I want and the
return_path as a way to identify the user? Is that
what you meant?
That would mean I'd need a way to fetch the to:
address from the pop3.php, how is this possible?
At the pressent time I am doing everything manually.
So I am going into the email and grabbing the address,
doing a search on the database and when found flagging
the account with abad email address. Quite time
consuming when alot of bounces occours.
So an automatic way to fasten up the process would be
great. I don't mind if I have to activate the script
manually. Just be great to have things moving along a
bit faster than the pressent speed.
Jerry
Hello,
That's tricky. What I do is to have a catch-all
mailbox for my site
domain. So, every message sent to a mailbox that does
not really exist
will be dropped in that catch-all mailbox.
When I send messages to each user, I make the return
path address be
set
to something like errors-user=domain@mysite.com .
For instance, messages sent to jusa_98@yahoo.com by
the PHP Classes
site, will have the return path set to
errors-jusa_98=yahoo.com@phpclasses.org .
Since these address really do not exist, they will be
dropped in the
catch-all mailbox for that domain. So, all I need to
do is to run a
script that polls the POP3 mailbox of my catch-all
account and parse
the
To: address of the bounced messages to figure the
subscriber address
that is bouncing. Not all bounce message will have the
To: address set
correctly. The remaining message should be ignored.
http://personals.yahoo.com.au - Yahoo! Personals
New people, new possibilities. FREE for a limited time.