How do you email your directory list?

Discussion in 'Directories' started by acuman, Jan 25, 2008.

  1. #1
    When you have an important announcement or update on your directory and you want to inform all your members, how do you inform them?

    Is there a way to email everybody through php 3.1?
    Or must I collect all emails on my own and email them through my own email server?

    Thanks!
     
    acuman, Jan 25, 2008 IP
  2. hyper

    hyper Peon

    Messages:
    1,565
    Likes Received:
    214
    Best Answers:
    0
    Trophy Points:
    0
    #2
    hyper, Jan 25, 2008 IP
  3. contactusa

    contactusa Active Member

    Messages:
    782
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    80
    #3
    Export your Emails from your MySQL file and send them to your email program.
     
    contactusa, Jan 25, 2008 IP
  4. tankard

    tankard Well-Known Member

    Messages:
    1,018
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    185
    #4
    I am not sure about PHP 3.1. but on PHP4 you can use a simple "mail" command to send messages. Well, something like this:
    
    mail($to, $subject, $message, "From: $name <$email>\nX-Mailer: PHP/" . phpversion());
    header( "location: confirm.htm" );
    
    Code (markup):
    (sorry 'bout pasting a code here but I think it is relevant to the answer)

    If you are not on good terms with PHP, go to ymlp.com. They have a free option to try the service. Your idea is great. It's important to keep the members informed!
     
    tankard, Jan 26, 2008 IP
  5. acuman

    acuman Active Member

    Messages:
    562
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    68
    #5
    Thanks for these tips.

    @contactusa: which file are these emails stored?
    Thanks.
     
    acuman, Jan 26, 2008 IP
  6. contactusa

    contactusa Active Member

    Messages:
    782
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    80
    #6
    Not files on your ftp. In your MySQL database. Log in to your phpMyAdmin
    and export them.
     
    contactusa, Jan 28, 2008 IP