Jump to content


This topic is now archived and is closed to further replies.


email form problem

Recommended Posts

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...

Share this post

Link to post
Share on other sites
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.

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.