Jump to content

email form problem


jhl84

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.