Re: mail function
Send an email to yourself, and look at the Return-path: part of the header.
I have a snippet of code to send mail, check here:
--
Mike Bradley
http://www.gzentools.com -- free online php tools
"AJ" <nospam@redcatm edia.net> wrote in message
news:c24d3q$ogt $1@titan.btinte rnet.com...[color=blue]
> Hi all
>
> I've written a little newsletter script that takes addresses from a table
> and sends an e-mail to them. What I don't understand is what happens to
> wrong addresses. It all works and when I receive an e-mail it says it's
> from newsletter@doma in.com (for example). I've put some rubbish into one
> row on my table to deliberately make it bounce but I don't get anything
> bounce back at my end.
>
> We want to be able to measure how many addresses are working so we can
> remove any our of date e-mail addresses from the table.
>
> Any ideas anyone?
>
> Cheers
>
> Andy
>
>[/color]
mail function
Collapse
This topic is closed.
X
X
-
Guest replied -
Guest repliedRe: mail function
Andy, what are you specifying as your "from" address? I do something
similar, and all junked emails get returned to the "from" address (in my
case apache@).
Jim
On Wed, 3 Mar 2004 10:47:22 +0000 (UTC), "AJ" <nospam@redcatm edia.net>
wrote:
[color=blue]
>Hi all
>
>I've written a little newsletter script that takes addresses from a table
>and sends an e-mail to them. What I don't understand is what happens to
>wrong addresses. It all works and when I receive an e-mail it says it's
>from newsletter@doma in.com (for example). I've put some rubbish into one
>row on my table to deliberately make it bounce but I don't get anything
>bounce back at my end.
>
>We want to be able to measure how many addresses are working so we can
>remove any our of date e-mail addresses from the table.
>
>Any ideas anyone?
>
>Cheers
>
>Andy
>[/color]
Jim Willsher
Homepages at http://www.jimwillsher.co.uk
Leave a comment:
-
mail function
Hi all
I've written a little newsletter script that takes addresses from a table
and sends an e-mail to them. What I don't understand is what happens to
wrong addresses. It all works and when I receive an e-mail it says it's
from newsletter@doma in.com (for example). I've put some rubbish into one
row on my table to deliberately make it bounce but I don't get anything
bounce back at my end.
We want to be able to measure how many addresses are working so we can
remove any our of date e-mail addresses from the table.
Any ideas anyone?
Cheers
Andy
Tags: None
Leave a comment: