Lassie Posted December 4, 2006 Share Posted December 4, 2006 Does anyone have experience of sending mail to an SMTP server set up on a local windows machine.I have set my php.ini tothe server address and put in a sendmail from address.my code is:$to = "me@yahoo.co.uk"; $subj = "test"; $mess = "This is a test of the mail function"; $headers = "bcc:adminxx@btinternet.com"; mail($to,$subj,$mess,$headers);I keep getting an unknown error. Quote Link to comment Share on other sites More sharing options...
papaface Posted December 4, 2006 Share Posted December 4, 2006 http://www.php.net/manual/en/ref.mail.php#57473^^ That should help you.regards Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.