0

I have PHP 5 running on a hosted ISP. The ISP gives me minimal configuration options via cPanel. Is there any way to use email notification to respond to some given event? I want to send from PHP in the background. Must I specify environment stuff like POP or SMTP? My hosted ISP offers email addresses of course -- does using one of those make things easier? Now that you know how ignorant I am, do you have any general advice on approaching this?

2
  • Could you be a bit more specific and tell us what "given event" you'd like to receive a notification about? It's hard to answer your question without understanding what you're trying to monitor.
    – Nick
    Commented Nov 4, 2011 at 16:17
  • Merely based on what code is invoked in the PHP files. For example, a specified query against the MySQL data.
    – Smandoli
    Commented Nov 4, 2011 at 22:15

1 Answer 1

1

Your hosting company may have set up the environment already for you. Have a look at the PHP mail page and write a test script to send yourself an email.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.