Jump to content


email form problem

  • Please log in to reply
1 reply to this topic

#1 jhl84

  • Members
  • PipPip
  • Member
  • 10 posts

Posted 07 June 2006 - 05:06 AM

i have written codes for an email form. but the email form doesnt work. i think the problem is from this line.

mail('jhl84@domain.com',$subject,$text,"From: $name <$email>");

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

#2 Kris

  • Staff Alumni
  • Advanced Member
  • 2,755 posts
  • LocationThe Internet

Posted 07 June 2006 - 07:35 AM

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.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users