0
Welcome Guest! Login
0 items Join Now

Email via contact form on local server

    • wergle's Avatar
    • wergle
    • Jr. Rocketeer
    • Posts: 47
    • Thanks: 0

    Email via contact form on local server

    Posted 15 years 11 months ago
    • I have a local WAMP installation where I am developing my site.

      I have spent some time trying to get the contact form email to work without success.

      When I enter contact information into the form (one that came with template and is standard Joomla) and hit send, I get thank you for your email message. However, I do not receive the email.

      The above happens when Mailer is set to sendmail. SMTP cannot connect to server and php gives an error message.

      After reading several forum posts, it seems the problem may be with php.ini file. I have not made any changes so it is the same as when it was installed.

      Does it make sense that php.ini is the problem? Here are current settings
      [mail function]
      ; For Win32 only.
      SMTP = localhost
      smtp_port = 25

      ; For Win32 only.
      sendmail_from = you@yourdomain

      I would really like to test contact form prior to uploading to my server (where I presume I would use SMTP). It seems like I could change php settings through phpmyadmin, but I don't see any way to do it.

      Thanks in advance for your help.
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Email via contact form on local server

    Posted 15 years 11 months ago
    • Why not use the PHP send mail function?
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
    • wergle's Avatar
    • wergle
    • Jr. Rocketeer
    • Posts: 47
    • Thanks: 0

    Re: Email via contact form on local server

    Posted 15 years 11 months ago
    • Thanks for your prompt reply.

      I started of with php mail, but I kept getting an error (something like "can't initiate email") so I began trying send mail and smtp.

      One setting I do remember changing along the way is "custom reply". I think it is a menu parameter. It was set to global and changed to no (idea from a forum posting). At this point I was trying to get smtp to work. Would that setting have an impact on php mail?

      Thanks again for your reply.

Time to create page: 0.060 seconds