reading email

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
m2babaey
Forum Contributor
Posts: 364
Joined: Sun May 20, 2007 9:26 am

reading email

Post by m2babaey »

Hi
Assume that I give an email address to my clients "contact@mydomain.com"
I am wondering how it is possible to use PHP to read that email subject and message body without going to my webmail manually (I am also thinking if it is even required to create that email address in my cpanel or not?)

Then I can forward it to my yahoo email address, or send an auto-responder etc
I know cpanel offers email forwarders and auto-responders, but you know that's different
So can you tell me what are required actions or refer me to a tutorial?
Any help would be appreciated
Thank you
User avatar
dude81
Forum Regular
Posts: 509
Joined: Mon Aug 29, 2005 6:26 am
Location: Pearls City

Re: reading email

Post by dude81 »

You need to create the account on cpanel for clients@mydomain.com with a password.
You should be having some pop server details for mydomain.com, something that which you need to check with your hosting provider for your domain.
Assuming that you have these details i.e.
Your domain POP Server Details
Your email i.e. client@yourdomain.com and its password.
and then search for php pop3 email clients in google. There are plenty of resources available.
Post Reply