SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2002
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Tracking forwarded / bounced e-mails in a newsletter app

    Hi,

    I am building a newsletter application and am wondering if there is any way I can track the bouncebacks from bad e-mail addresses. Also I need to track if somebody forwards an e-mail to another person. Is there any way I can do either of these things ?

    Thanks,

    Richard

  2. #2
    <? echo "Kick me"; ?> petesmc's Avatar
    Join Date
    Nov 2000
    Location
    Hong Kong
    Posts
    1,508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You have to set them to bounce to a specific email account then use imap or pop functions to check the inbox for any bounced emails and remove them from the list.

    You can't track if someone fowards the email.

  3. #3
    SitePoint Member
    Join Date
    Nov 2004
    Location
    Grand Rapids
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could also set up the mail server to pipe any mails sent to the bounce account to your script. In cpanel you can set up a forwarding address to forward to:

    |/path/to/php /path/to/your/script

  4. #4
    SitePoint Enthusiast
    Join Date
    Nov 2002
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for this guys and for the info on the bounces.

    I always wondered how they did the checking for forwarding of mails so I am glad to know it's not possible! I guess I will just have to include a link for them to go to a web page and then they can forward it from there. I cannot think of any other way.

    Yours,

    Richard

  5. #5
    SitePoint Wizard silver trophy kyberfabrikken's Avatar
    Join Date
    Jun 2004
    Location
    Copenhagen, Denmark
    Posts
    6,157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    do yourself a favour and consider using a mailinglistmanager. checking for bouncing mails isn't trivial at all, and generally speaking there are a lot of pitfalls in this area.

  6. #6
    SitePoint Enthusiast
    Join Date
    Nov 2002
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks kyberfabrikken, would you recommend any packages you have used ?

    R

  7. #7
    SitePoint Wizard
    Join Date
    Aug 2004
    Location
    California
    Posts
    1,672
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Check out phplist at http://phplist.com. It is one of those open source gems like phpMyAdmin, phpBB, WordPress, etc.


Bookmarks

Posting Permissions

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