Php mailing list

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • zinger_tower_burger@yahoo.co.uk

    Php mailing list

    Hello All,

    Can anyone point me to a php script that stores email addresses into a
    txt file?

    The purpose for this is for a mailing list, ideally if a user wanted to
    unsubscribe the email would be removed from the text file.

    Regards,

    Jay Lehab

  • Mike Willbanks

    #2
    Re: Php mailing list

    Jay,
    [color=blue]
    > Can anyone point me to a php script that stores email addresses into a
    > txt file?[/color]

    I am not sure of one that already does that but it should be fairly easy
    to write on your own.

    Here is your steps:

    1. User signs up for mailing list
    2. Validate the email address
    3. Append it to the file (you should come up with a format/scheme)

    1. User sends in unsubscribe request
    2. Validate the email address
    3. Find it in the file and delete it.

    For the mailing
    1. Open the file
    2. Sort the addresses
    3. Send the email

    Mike

    Comment

    Working...