Multiple mail()

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jez

    Multiple mail()

    I need to be able to send individual personalised emails to contacts
    stored in a database. I'm able to do this using mail() and a loop, but
    I've read that this isn't a very good idea as there could be a few
    hundred contacts.

    What is the best way to go about this? Any advice or pointers in the
    right direction will be greatly appreciated!

    Thanks.

    Jez
  • Ian.H

    #2
    Re: Multiple mail()

    On Wed, 24 Sep 2003 09:15:25 -0700, Jez wrote:
    [color=blue]
    > I need to be able to send individual personalised emails to contacts
    > stored in a database. I'm able to do this using mail() and a loop, but
    > I've read that this isn't a very good idea as there could be a few hundred
    > contacts.
    >
    > What is the best way to go about this? Any advice or pointers in the right
    > direction will be greatly appreciated!
    >
    > Thanks.
    >
    > Jez[/color]


    Personalised... hundreds....... ... sounds like spam to me =\



    Regards,

    Ian

    --
    Ian.H [Design & Development]
    digiServ Network - Web solutions
    www.digiserv.net | irc.digiserv.ne t | forum.digiserv. net
    Programming, Web design, development & hosting.

    Comment

    • RG

      #3
      Re: Multiple mail()


      "Ian.H" <ian@WINDOZEdig iserv.net> wrote in message
      news:pan.2003.0 9.24.15.36.54.4 52345@hybris.di giserv.net...[color=blue]
      > On Wed, 24 Sep 2003 09:15:25 -0700, Jez wrote:
      >[color=green]
      > > I need to be able to send individual personalised emails to contacts
      > > stored in a database. I'm able to do this using mail() and a loop, but
      > > I've read that this isn't a very good idea as there could be a few[/color][/color]
      hundred[color=blue][color=green]
      > > contacts.
      > >
      > > What is the best way to go about this? Any advice or pointers in the[/color][/color]
      right[color=blue][color=green]
      > > direction will be greatly appreciated!
      > >
      > > Thanks.
      > >
      > > Jez[/color]
      >
      >
      > Personalised... hundreds....... ... sounds like spam to me =\
      >[/color]


      Definate smell of pork but hey, I quite like a bit of spam sometimes.
      What are your concerns Jez, overloading the server?
      If you are worried about this, you could do some kind of script that does
      this:
      send 1 email, add a sent variable to the databse entry for that email.
      Do a refresh on the script until all are sent.
      This way you could put say a 5 second refresh time.

      You are a considerate spammer, having concerns about your host.
      Are you sure you just don;t want to get caught out???
      :)
      RG





      Comment

      • Jez

        #4
        Re: Multiple mail()

        "RG" <Me@NotTellingY a.com> wrote in message news:<3f71c0db$ 0$33808$65c6931 4@mercury.nildr am.net>...[color=blue]
        > "Ian.H" <ian@WINDOZEdig iserv.net> wrote in message
        > news:pan.2003.0 9.24.15.36.54.4 52345@hybris.di giserv.net...[color=green]
        > > Personalised... hundreds....... ... sounds like spam to me =\
        > >[/color]
        >
        >
        > Definate smell of pork but hey, I quite like a bit of spam sometimes.
        > What are your concerns Jez, overloading the server?
        > If you are worried about this, you could do some kind of script that does
        > this:
        > send 1 email, add a sent variable to the databse entry for that email.
        > Do a refresh on the script until all are sent.
        > This way you could put say a 5 second refresh time.
        >
        > You are a considerate spammer, having concerns about your host.
        > Are you sure you just don;t want to get caught out???
        > :)
        > RG[/color]

        Promise you it's not spam. I just need a reliable way to send
        personalised email to members of an association I'm involved with. The
        members are actually paying to receive the email ;)

        I've read somewhere that mail() wasn't intended for the kind of thing
        I'm trying to achieve, but I can't find any references to a better way
        with PHP.

        Thanks for your suggestion.

        Jez

        Comment

        • Manuel Lemos

          #5
          Re: Multiple mail()

          Hello,

          On 09/24/2003 12:15 PM, Jez wrote:[color=blue]
          > I need to be able to send individual personalised emails to contacts
          > stored in a database. I'm able to do this using mail() and a loop, but
          > I've read that this isn't a very good idea as there could be a few
          > hundred contacts.
          >
          > What is the best way to go about this? Any advice or pointers in the
          > right direction will be greatly appreciated![/color]

          mail() is just fine for that. What is the problem is sending
          personalized e-mail as it may take a long time to deliver the messages
          to all recipients.

          --

          Regards,
          Manuel Lemos

          Free ready to use OOP components written in PHP
          Free PHP Classes and Objects 2026 Versions with PHP Example Scripts, PHP Tutorials, Download PHP Scripts, PHP articles, Remote PHP Jobs, Hire PHP Developers, PHP Book Reviews, PHP Language OOP Materials


          Comment

          Working...