Mail() command just doesn't work for me....
Posted: Mon Nov 22, 2004 10:38 am
I'm trying to use the mail command using a php enabled server location and it just won't work...
I've tried a lot of different approaches, but the latest one follows:-
the error i keep on getting from the server is:-
Can anyone help. Please. I'm losing what little hair i have left now. And please don't redirect me to other forum postings, because i've been through them and they don't seem to have helped any!!! 
I've tried a lot of different approaches, but the latest one follows:-
Code: Select all
<?php
mail("graham_campbell@blueyonder.co.uk","please send","this is a long shot");
?>Code: Select all
Warning: mail(): SMTP server response: 554 <graham_campbell@blueyonder.co.uk>: Recipient address rejected: Relay access denied in \\nas16ent\domains\b\biznuge.co.uk\user\htdocs\mailcommand.php on line 2