Re: [PHP] undelivery mails

2004-02-21 Thread Jason Wong
On Saturday 21 February 2004 01:41, Ryan A wrote:

 If you are sending out html mails you can learn a lesson from the low life
 bastard spammers, but in
 your case for a good cause (i hope),
 Write a script so that each email has a unique identifier as spedified in
 the database and from the email
 your script is called...(eg: via a img (src) tag )...after maybe 5 days of
 the person not viewing your email
 take them out of the db...this can be run via a cron.

This will only work if the mail client does not have an option to turn off 
external downloads/links when viewing html mail. So the above method will 
unsubscribe all your smart users leaving behind the dumb ones!

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
Do you think that illiterate people get the full effect of alphabet soup?
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] undelivery mails

2004-02-20 Thread Juan Cortabitarte
I need to send a newsletter and I need to know all mail addresses of the
undelivery  mails to update the database.
Any suggestion? Do I need to parse the maillog?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] undelivery mails

2004-02-20 Thread John W. Holmes
From: Juan Cortabitarte [EMAIL PROTECTED]

 I need to send a newsletter and I need to know all mail addresses of the
 undelivery  mails to update the database.
 Any suggestion? Do I need to parse the maillog?

If you're using the basic mail() function in PHP, you're not going to get
any data back regarding deliveries. Some of the available SMTP classes may
incorporate that, though.

You'll more than likely (since you want to automate this, I imagine) have to
write a PHP script that logs into a mailbox and parses the messages looking
for bounces, failed delivery, etc.

---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] undelivery mails

2004-02-20 Thread Ryan A

On 2/20/2004 5:48:21 PM, Juan Cortabitarte ([EMAIL PROTECTED]) wrote:
 I need to send a newsletter and I need to know all mail addresses of the
 undelivery  mails to update the database.
 Any suggestion? Do I need to parse the maillog?

 --

Hey,
If you are sending out html mails you can learn a lesson from the low life
bastard spammers, but in
your case for a good cause (i hope),
Write a script so that each email has a unique identifier as spedified in
the database and from the email
your script is called...(eg: via a img (src) tag )...after maybe 5 days of
the person not viewing your email
take them out of the db...this can be run via a cron.

HTH.

Cheers,
-Ryan

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php