Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 10 of 10
  1. #1
    Senior Coder
    Join Date
    May 2006
    Posts
    1,683
    Thanks
    28
    Thanked 4 Times in 4 Posts

    A question about emailing with php

    Hi,
    The emailing company Aweber.com knows which
    emails that are sent are by their mail server.

    How do they do that ?

    Is this something that I can do with php?

    If so, what do I need to do in order to get the
    information about opened or not ?

    Thanks.

  • #2
    Regular Coder
    Join Date
    Dec 2009
    Location
    UK
    Posts
    495
    Thanks
    0
    Thanked 58 Times in 58 Posts
    Do you mean you want to read your emails through php?
    My site: JayGilford.com
    Resources:
    PHP Pagination Class | Getting all page links | Handling PHP Errors properly
    If you like a users help, show your appreciation with the rep and thanks buttons :)

  • #3
    Senior Coder
    Join Date
    May 2006
    Posts
    1,683
    Thanks
    28
    Thanked 4 Times in 4 Posts
    No, I do not mean that.

    I mean that when I use php to send out my emails, I want
    to find out how I can learn whether or not the email is opened
    by the recipient.

    Aweber and other companies do this, so I want to learn how they do it.

    Thanks

  • #4
    Senior Coder tomws's Avatar
    Join Date
    Nov 2007
    Location
    Arkansas
    Posts
    2,644
    Thanks
    29
    Thanked 330 Times in 326 Posts
    I don't know how they do it, but it can be done by embedding an image (say a 1x1 pixel transparent) into the message. Each time the message is opened, the image is fetched from the server. Count the hits.

    Modified version. Same as above, but generate the image with php. "Tag" each image/url with the user's id number: <img src="http://example.com/tracker.php?id=123456789" />. Observe the hits.

    These are older methods. Mail tracking may be different now. These are easily worked around in modern email clients, by the way. Use Outlook or Gmail lately? This is part of the reason all images are blocked by default. There are valid privacy concerns.
    Are you a Help Vampire?

  • #5
    Regular Coder
    Join Date
    Dec 2009
    Location
    UK
    Posts
    495
    Thanks
    0
    Thanked 58 Times in 58 Posts
    take a look here
    http://en.wikipedia.org/wiki/E-mail_tracking
    you can use return-receipt-to header to track the email when it's opened (assuming the user enables the allow confirmation of it)
    My site: JayGilford.com
    Resources:
    PHP Pagination Class | Getting all page links | Handling PHP Errors properly
    If you like a users help, show your appreciation with the rep and thanks buttons :)

  • #6
    Senior Coder tomws's Avatar
    Join Date
    Nov 2007
    Location
    Arkansas
    Posts
    2,644
    Thanks
    29
    Thanked 330 Times in 326 Posts
    That one's not so bad except:
    Very few e-mail applications or services support read receipts...
    Still, if someone is using Outlook, they may not be very savvy anyway, so they may be tracked via read receipt just as easily as by image. Among those who think they're savvy (like me), they will disable the junk in Outlook but will gladly accept HTML email so they can see pictures of the nice, shiny weekly sale items.
    Are you a Help Vampire?

  • #7
    Regular Coder
    Join Date
    Dec 2009
    Location
    UK
    Posts
    495
    Thanks
    0
    Thanked 58 Times in 58 Posts
    yeah. Thats the true "above board" method shall we say of confirming it. You can use the image method, although this isnt guaranteed to work either since services like gmail download the images before the account user receives it, and caches it to show them, so it again isn't 100%. Also clients such as Thunderbird (mozillas free alternative to outlook) by default will block images and only show them upon the users request (by clicking a display images button)
    My site: JayGilford.com
    Resources:
    PHP Pagination Class | Getting all page links | Handling PHP Errors properly
    If you like a users help, show your appreciation with the rep and thanks buttons :)

  • #8
    Senior Coder
    Join Date
    May 2006
    Posts
    1,683
    Thanks
    28
    Thanked 4 Times in 4 Posts
    So, does that mean that when aweber shows that you only
    got a 20% opened rate, it could really be a lot higher, it is just that
    people are not allowing images ?

    In fact, if Google is opening and caching the images for their gmail clients.
    the opposite would be true - all gmail mails would appear to get opened and read ) cos Google is doing it) when really they might not be.

    What a mess !!

  • #9
    Regular Coder
    Join Date
    Dec 2009
    Location
    UK
    Posts
    495
    Thanks
    0
    Thanked 58 Times in 58 Posts
    Yeah. Stats are never spot on for any web stuff really. Things like google analytics are only estimations. Not everyone has javascript, people have ad blocking software that prevents the tracker from running and so on, so you have to take all stats with a pinch of salt
    My site: JayGilford.com
    Resources:
    PHP Pagination Class | Getting all page links | Handling PHP Errors properly
    If you like a users help, show your appreciation with the rep and thanks buttons :)

  • #10
    Senior Coder
    Join Date
    May 2006
    Posts
    1,683
    Thanks
    28
    Thanked 4 Times in 4 Posts
    As far as I can see the only methods of checking on
    opening/reading of sent emails are not reliable.

    So the point is, if this is true then
    there is not really a way of knowing if
    your emails are being read, or any way of
    getting good stats.

    I guess that the big companies may have run
    some tests and can tell that as a general rule
    if they monitor that 20 % are opened then that
    means that the real figure is going to be more
    like 45% ( or 15% which ever way it works out)

    Maybe I can google for these stats ?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •