jhl84 Posted June 7, 2006 Share Posted June 7, 2006 i have written codes for an email form. but the email form doesnt work. i think the problem is from this line.[code]mail('jhl84@domain.com',$subject,$text,"From: $name <$email>");[/code]from this line, i am using the mail() function. do i need to get a smtp server, configure the php.ini file or use the pear mail found in the php folder? i am using apache and installed php triad running on windows xp pro. pls help. thanks... Quote Link to comment https://forums.phpfreaks.com/topic/11386-email-form-problem/ Share on other sites More sharing options...
zq29 Posted June 7, 2006 Share Posted June 7, 2006 If you're running this on your own server, you will need to have put your SMTP details in the php.ini file. If you don't have access to your own SMTP server, you could always use your ISPs - Details should be on their website. Quote Link to comment https://forums.phpfreaks.com/topic/11386-email-form-problem/#findComment-42707 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.