Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mail function

Status
Not open for further replies.

kamloops

Programmer
May 7, 2003
34
CA
Hi there,

This simple mail script:

<?php
mail("donotreply@bannerbroadcast.co.uk", "My Subject", "test\n");
?>
Will not work on my Linux Server...the DNS was just switched a couple of days ago... would this affect it?

Thanks
 
using "donotreply@bannerbroadcast.co.uk" might not work on your server if this email is not registered as a user on this server. also the server might not alow emails to be sent by user "nobody" which is often used by php to send emails.

I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top