How to send mass mails?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vithya Ashok
    New Member
    • Oct 2007
    • 6

    How to send mass mails?

    Hai seniors...
    i m new to this technology..
    how to send mass mails.....
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Hi. Welcome to The Scripts!

    Check out the mail() function in the PHP Manual. Specifically, Example 1117.

    Alternately, you can try one of the PHP mailer classes, for example; SwiftMailer or PHPMailer.

    Comment

    • Vithya Ashok
      New Member
      • Oct 2007
      • 6

      #3
      Thanks Atli..
      Thanks for the immediate response ...
      but i need more....guide me more
      but if we use this mail($to, $subject, $message, $headers); function,
      in $to we have to enter all the receipients mail ids.
      but i need to send mails to all the persons in a particular commumity.
      i mean if there are 500 people names in a DB, it should send mails to all.

      Comment

      • FullyH3ktik
        New Member
        • Sep 2007
        • 52

        #4
        You could create one massive array, the data has to be entered into the system anyway otherwise where are you getting the recipients from?

        Comment

        Working...