Mail problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Mail problem

Post by Joe »

I have a config.php file I created and I put the email data in there such as the subject, text, email, etc... The only problem is that it does not send the email to my address. The code I use is in the submission.php form and go's like:

mail($email1, $EmailSubject, $EmailContent, $AdminEmail);

And as I said, the email details are in the config.php file.
Deemo
Forum Contributor
Posts: 418
Joined: Sun Jan 18, 2004 11:48 am
Location: Washington DC

Post by Deemo »

does ur server use SMTP? cuz otherwise i dont beleive it will work.
Post Reply