Hi, I'm trying out some code from the PHP Anthology. I find that it works fine on one of my hosting accounts, but not the other. I'm wondering whether anyone might be able to suggest why this might be the case?
The code is from Chapter 7. Email and is as follows:
(I've changed the two email addresses to my own...)Code:<?php mail('you@yourdomain.com', 'Howdy', 'Glad to meet you.', 'From: me@mydomain.com'); ?>
The exact same code works perfectly on one hosting account, but not the other. It's a really simple script, so I'm wondering what's up.
Many thanks for any help,
Emily



Bookmarks