Jump to content

Receiving email on a shared host?


davej

Recommended Posts

I've never messed with email. Is it tricky to deal with? I'm on a shared host. I'm surprised that so far it seems absurdly simple. The Php mail() command seems to send it and the received mail just magically appears in each owners new mail folder. I need to figure out how to launch a cron job to process the forum input and output, but I thought this was going to be much more difficult than it is looking right now.

Edited by davej
Link to comment
Share on other sites

you wan to work with stored email in your account?

Link to comment
Share on other sites

If you want to have PHP check for email then you need to set up an email account for it to check. PHP has an IMAP extension that I use to connect to an email account and check the contents. Check the documentation for the IMAP extension.

Link to comment
Share on other sites

Looks like it might even easier than that. I created a forum@mysite.com account on cpanel and the received messages just appear in a received mail folder -- so I guess I'll need a cron job to run a Php script that would check to see if the folder has files in it, and if so then process those files.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...