#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    Pirot, Serbia, YU
    Posts
    2
    Rep Power
    0
    ppl... i need help... lots of help ... i'm a newbie... and i have really big problem (at least for me)... i need to write script that will do:

    1. load emails from MySQL and to store them in some variable

    2. to send to each of the emails (from MySQL database) message with some gif/jpg attachment...

    so if someone knows how to do it... i would be gratefull...

    Cu l8r...

    ------------------
    One Ring To Rule Them All
    One Ring To Find Them
    One Ring To Bring Them All
    And In The Darkness Bind Them...
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Location
    Alkmaar, The Netherlands
    Posts
    123
    Rep Power
    14
    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>
    1. load emails from MySQL and to store them in some variable
    [/quote]

    You could try to use DBI module. Use doc's from module to find out how it works

    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>
    2. to send to each of the emails (from MySQL database) message with some gif/jpg attachment...
    [/quote]

    Similar answer only use sendmail module. It let's you send e-mail with SMTP server. Because you have POP-access you probably have SMTP as well.

    You can get the module from www.cpan.org

    ------------------
    Good luck,
    Bas

    ------------------
    E-mail me at: b.vandermeijden@pecoma.nl

IMN logo majestic logo threadwatch logo seochat tools logo