Jump to content

Reading email into a PHP script


cavey5

Recommended Posts

Let me explain the problem I am trying to solve, and maybe you will better understand what I need:

 

I run a magazine and we get a lot of customer service calls from subscribers, also emails, PM's etc on all the forums we're on - from all over the world. People just cannot seem to email our customer service account or call the center, they PM my employees on odd forums. Eventually, these get funneled back to one person; amazingly she handles all CS for the whole company. So I wrote her this beautiful piece of PHP wonderment that manages all of  our subscriber accounts from our server, its just a database front end but it's cool :-)

 

It includes a private messaging system so other employees can send her messages, like forwarding a phone call message about a problem customer. The reason I have them going thru the PM system in my software is that emails get lost, sticky notes and paper messages get lost etc... when they send her a PM though it is in her inbox, and when she sits down to go thru service calls, they are all right there and logged and saved; especially if they knew the subscribers ID or name, it will pull the account up for her when she clicks the account number. It works great.

 

The only problem is that my other employees have to log in to the software in order to PM her. What would be cool is if they sent an email to a specific account, an account only used for customer service and not used to reply to anything... and when you sent an email to this account, it showed up in her inbox inside this software. It would ignore attachments and simply include who it was from, a subject line and a message. That's it, everything else is stripped out and everyone sending to this address (non-public personnel) would know this.

 

My question is how do I check an email account (on my server locally) for new messages and read it into PHP variables? Is there a method or functions built for this sort of thing?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.