email sender

Posted on 2006-04-19
Last Modified: 2006-11-18
I'm looking for a script that allows me to send email to a full textfile full of emails....

how can I do this?
Question by:melvinbrad20
    LVL 17

    Accepted Solution

    Hi melvinbrad20,

    Look into phpmailer, it is a very popular emailing script for php:

    I would also suggest moving the emails into a database, like mysql, but either way is fine.

    Joe P
    LVL 9

    Expert Comment

    Also putting the emails in a database, could allow you to update the info so you know which ones have been sent to. So if your script crashes for some reason, you dont send the email out to the same people again.

    $query_link=mysql_query("SELECT * FROM my_emails WHERE sent=0");
      $sql="UPDATE my_emails SET sent=1 WHERE email_id=".$row['email_id'];

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Introduction Many web sites contain image galleries; a common design for these galleries includes a page with a collection of thumbnail images.  You can click on each of the thumbnail images to see the larger version of the image.  This is easily i…
    Consider the following scenario: You are working on a website and make something great - something that lets the server work with information submitted by your users. This could be anything, from a simple guestbook to a e-Money solution. But what…
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now