Jump to content

Problem With Mail Function


kokeroulis
 Share

Recommended Posts

Does it send the email at all? Does your webserver have a corresponding SMTP server set up? Are there any error messages?The full code would also be good.

Link to comment
Share on other sites

you are forgetting the body of the message after the subject
That wouldn't explain why it's not sending, because $from is behaving as the body of the message.
Link to comment
Share on other sites

i don't know...How can i check that?
If you are on a dedicated server or hosting on your home computer, and you don't remember setting up one, then you haven't. If you are on a shared server, ask the administrators.If you haven't set one up and can, you can either use an external server or install one on the machine itself. If you use an external one just enter its details in the php.ini file (search for SMTP). If you want to install your own, do so, then enter localhost in the SMTP field.Also, make sure PHP is running, etc.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...