what is the code for email notifications?

Discussion in 'PHP' started by zanerockz, Nov 1, 2007.

  1. #1
    i want a feature in my site where in the members of my site could be notified through email about the latest happenings in my site..how is it done?thanks,,
     
    zanerockz, Nov 1, 2007 IP
  2. Lordy

    Lordy Peon

    Messages:
    1,643
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #2
    uhm, that's usually just a opt-in email and then you send out the email..
     
    Lordy, Nov 1, 2007 IP
  3. jakomo

    jakomo Well-Known Member

    Messages:
    4,262
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    138
    #3
    You can save the emails in your database, I'm sure you are doing it, then you can use the can create a script to send the emails, you can use the mail php function, search send mail php example in google, there are many examples and this is really easy.

    I was working on it for long time, only I'm having a problem, that Yahoo is getting the emails in the bulk directory, I'm trying to solve it..

    Best,
    Jakomo
     
    jakomo, Nov 1, 2007 IP
  4. BioXD

    BioXD Peon

    Messages:
    32
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Check out the official documentation for the mail function at http://www.php.net/mail

    There are lots of samples to achieve what you want there.
     
    BioXD, Nov 1, 2007 IP
  5. zanerockz

    zanerockz Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    thanks jakomo...

    how did you solve the bulk in the directory?
     
    zanerockz, Nov 1, 2007 IP
  6. 9450184

    9450184 Peon

    Messages:
    30
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    It's called newsletter. Look for some free newsletter scripts.
     
    9450184, Nov 2, 2007 IP