1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Email scripting

Discussion in 'Programming' started by Weirfire, Nov 6, 2004.

  1. #1
    Would it be possible to automatically extract information from emails and update information on a webserver?

    The problem I have is that my online merchant fastpay has told me that they won't send information back once an order is complete but they will either email or SMS when someone makes a purchase. So I want to extract the order ID from the email so I can update the database automatically.
     
    Weirfire, Nov 6, 2004 IP
  2. THT

    THT Peon

    Messages:
    686
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you could read info from a pop3 server and if the email/subject contained relevant info, do soemthing etc

    Yeah should be able to do this with fsockopen in PHP
     
    THT, Nov 6, 2004 IP
  3. Weirfire

    Weirfire Language Translation Company

    Messages:
    6,979
    Likes Received:
    365
    Best Answers:
    0
    Trophy Points:
    280
    #3
    Excellent!! So something can be done. I'll be looking into that on Monday. That's me off now for the weekend...

    yes! 1 day weekend for those of us crazy people who decide to run a business as well as study a final year university degree. :eek:
     
    Weirfire, Nov 6, 2004 IP
  4. expat

    expat Stranger from a far land

    Messages:
    873
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #4
    expat, Nov 7, 2004 IP
  5. Weirfire

    Weirfire Language Translation Company

    Messages:
    6,979
    Likes Received:
    365
    Best Answers:
    0
    Trophy Points:
    280
    #5
    After all the help you've given me, I think it would only be fair :)
     
    Weirfire, Nov 7, 2004 IP