On 3/15/2004 11:19:13 PM, Rob Adams ([EMAIL PROTECTED]) wrote:
> "Ryan A" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hi,
> > Problem: After sending the newsletter try to "see" how many people have
> > actually opened the email.
> > Send as html and call a script via a <img> tag passing the member id
> > (Problem: html messages is usually off)
>
> HTML is the only method I've ever used.  If it's off, I
> don't think you'll
> find a solution.  For those that have it on, at least
> you'll "see" them.
>
> Another trick that might help, if you're mail server
> can handle it, is to
> have a reply-to address like this:
>
> bounces-<id>@domain.com
>
> Some mail servers can be configured to ignore the '-' and everything
> after
> it, letting you receive all your bounces at one address, but knowing
> by the
> 'To' field which member it is coming from.  I know this
> doesn't address your
> problem of being able to see who actually reads the message, but it will
> help you know who isn't
> even getting the message to begin with.

Hey Rob,
Thanks for replying.

Yep, am going with html but am having a few problems....yahoo and hotmail
totally screw up the email and I dont get any confirmation :-(, after going
into view-> source I see that the IMG src address is being over written by
them..

Codes pretty simple (but works) you can compare it to your code if you need
to.
//PHP file
$connected=mysql_connect("$hostt", "$userr", "$passs") or die ('I cannot
connect to the database because: ' . mysql_error());
mysql_select_db ("$db");

$query = "insert into read_member values('$mem')";
$result = mysql_query($query);
if(!$result){  echo 'Info not inserted.'. mysql_error();exit;}

$mimetype="image/gif"; // Mime type of file

Header("Content-type: ");
readfile ($filename);

and in the HTML mail:
test <img
src="http://domain/testing/test_pass_image.php?mem=Ryan1&filename=dot.gif";>

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

Reply via email to