Please help me with sendmail!

by 9 replies
11










#programming #sendmail
  • Does the sendmail.php file actually exist in the root folder of your site?
    Any differences in capitalization between the file name & the reference to it in your code?
    If you manually type in the address to the file in a browser, what do you get?

    The sendmail.php file has to exist where your form is looking for it. In this case, since you aren't specifying the full URL (http:\\www...sendmail.php), the server is going to be looking for it in the same directory as the page your form is on. If it's in another location, either move it, or fix the location in the form: <form action="sendmail.php"...>
    • [ 1 ] Thanks
  • $E-mail - invalid variable name.
    Make it $e_mail


    Gleb
    • [ 1 ] Thanks
    • [1] reply
    • Okay I'll give it a try.

      I just want to make sure (I am a day into coding...okay). I am using Joomla, and in the editor for articles there is a button to see the code, must I put both the HTML and PHP code there? In the global configuration Joomla gives the path of sendmail as I said above...should I change it somehow to the path of the article?

      Thanks for your time!
      • [1] reply
  • It works!!!
    Thanks everyone!!

Next Topics on Trending Feed

  • 11

    Hi all I hope you can help me. I set up a simple form on my website, only fields for name and e-mail and a send button. I am using Joomla, and I added the folowing code in the source field of an article. (Should it be here or somewhere else?)