Form - Email question for NEWB

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Hoopster

    #1

    Form - Email question for NEWB

    Hello,


    I have been trying several php form scripts that send an email to me
    once the user clicks submit. I have edited the code so that my correct
    email is in the php script. However, I never receive the email. Is it
    possibly because my server doesn't have SMTP forwarding?


    Any help would be appreciated.


    Thanks in advance.


    - hoops
  • flamer die.spam@hotmail.com

    #2
    Re: Form - Email question for NEWB

    the mail function is uber easy to use in php.. that is.. however if its
    configured correctly in php, run a script with phpinfo(); and you can
    see the smtp settings etc in there, and of course you have to have a
    mail server running..

    Flamer.

    Hoopster wrote:
    Hello,
    >
    >
    I have been trying several php form scripts that send an email to me
    once the user clicks submit. I have edited the code so that my correct
    email is in the php script. However, I never receive the email. Is it
    possibly because my server doesn't have SMTP forwarding?
    >
    >
    Any help would be appreciated.
    >
    >
    Thanks in advance.
    >
    >
    - hoops

    Comment

    • Hoopster

      #3
      Re: Form - Email question for NEWB


      This is what is showed.

      SMTP localhost localhost
      smtp_port 25 25




      On 9 Jul 2006 17:10:00 -0700, "flamer die.spam@hotmai l.com"
      <die.spam@hotma il.comwrote:
      >the mail function is uber easy to use in php.. that is.. however if its
      >configured correctly in php, run a script with phpinfo(); and you can
      >see the smtp settings etc in there, and of course you have to have a
      >mail server running..
      >
      >Flamer.
      >
      >Hoopster wrote:
      >
      >Hello,
      >>
      >>
      >I have been trying several php form scripts that send an email to me
      >once the user clicks submit. I have edited the code so that my correct
      >email is in the php script. However, I never receive the email. Is it
      >possibly because my server doesn't have SMTP forwarding?
      >>
      >>
      >Any help would be appreciated.
      >>
      >>
      >Thanks in advance.
      >>
      >>
      >- hoops

      Comment

      • flamer die.spam@hotmail.com

        #4
        Re: Form - Email question for NEWB


        Hoopster wrote:
        This is what is showed.
        >
        SMTP localhost localhost
        smtp_port 25 25
        yes that is correct..IF there is a mail daemon running on the local
        machine, run netstat and see if port 25 is open, what mail daemon are
        you running?? your php config is ok, your mail config probably isnt,
        are you actually wanting to run an email server on this box?? if not
        just point your php.ini file to use your isps smtp server.

        Flamer.

        Comment

        Working...