Results 1 to 3 of 3

Thread: looking for an email script

  1. #1
    Join Date
    Aug 2008
    Location
    Smiths, AL
    Posts
    164
    Thanks
    30
    Thanked 5 Times in 5 Posts

    Default looking for an email script

    Can someone help me come up with an email script that I can add to my image upload page that will send me an email with a message that says an image has been uploaded to my site.

    I don't want that user that uploaded it to get one but just me letting me know.

    I would think for someone that is experienced it would only take a second to write but I don't know how to code it.

    Would someone like to help me out please??????

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Just add this line to your code:

    Code:
    mail('youraddress@domain.com', 'New Uploaded Image', 'Someone has uploaded a new image to your site');
    For more information, look at the php documentation for the mail function.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. The Following User Says Thank You to thetestingsite For This Useful Post:

    Dirt_Diver (08-16-2008)

  4. #3
    Join Date
    Aug 2008
    Location
    Smiths, AL
    Posts
    164
    Thanks
    30
    Thanked 5 Times in 5 Posts

    Default

    Thank you VERY much...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •