Using email with PHP

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

    Using email with PHP

    Our php was installed on our server by a consultant who is no longer
    available. Now, we have just moved our servers to a new location, and
    the autoresponders we have written in PHP no longer work. I'm assuming
    there is somewhere in the setup that holds the ip for the email
    server. Since we have a new mail server, we need to change that
    setting.

    Can someone please direct me to where that is? We're running this on
    an OS 10 server.

    Thanks,

    Bill
  • Martin Meredith

    #2
    Re: Using email with PHP

    Bill wrote:[color=blue]
    > Our php was installed on our server by a consultant who is no longer
    > available. Now, we have just moved our servers to a new location, and
    > the autoresponders we have written in PHP no longer work. I'm assuming
    > there is somewhere in the setup that holds the ip for the email
    > server. Since we have a new mail server, we need to change that
    > setting.
    >
    > Can someone please direct me to where that is? We're running this on
    > an OS 10 server.
    >
    > Thanks,
    >
    > Bill[/color]

    if it's custom code then it could be anywhere!

    Comment

    • Jochen Daum

      #3
      Re: Using email with PHP

      Hi Bill!

      On 9 Nov 2003 13:14:31 -0800, billzimmerman@g ospellight.com (Bill)
      wrote:
      [color=blue]
      >Our php was installed on our server by a consultant who is no longer
      >available. Now, we have just moved our servers to a new location, and
      >the autoresponders we have written in PHP no longer work. I'm assuming
      >there is somewhere in the setup that holds the ip for the email
      >server. Since we have a new mail server, we need to change that
      >setting.
      >
      >Can someone please direct me to where that is? We're running this on
      >an OS 10 server.[/color]

      I have no experience with Mac, but it should be similar to Linux. In
      php.ini, you can set the commandline to the MTA (mail transport
      agent). This program than determines where to transport it.

      HTH, Jochen
      --
      Jochen Daum - CANS Ltd.
      PHP DB Edit Toolkit -- PHP scripts for building
      database editing interfaces.
      Download PHP DB Edit Toolkit for free. PHP DB Edit Toolkit is a set of PHP classes makes the generation of database edit interfaces easier and faster. The main class builds tabular and form views based on a data dictionary and takes over handling of insert/update/delete and user input.

      Comment

      • Marouen

        #4
        Re: Using email with PHP


        "Jochen Daum" <jochen.daum@ca ns.co.nz> a écrit dans le message news:
        b5etqvgj6mqliq1 au38oh1h4274b8r 2fuc@4ax.com...[color=blue]
        > Hi Bill!
        >
        > On 9 Nov 2003 13:14:31 -0800, billzimmerman@g ospellight.com (Bill)
        > wrote:
        >[color=green]
        > >Our php was installed on our server by a consultant who is no longer
        > >available. Now, we have just moved our servers to a new location, and
        > >the autoresponders we have written in PHP no longer work. I'm assuming
        > >there is somewhere in the setup that holds the ip for the email
        > >server. Since we have a new mail server, we need to change that
        > >setting.
        > >
        > >Can someone please direct me to where that is? We're running this on
        > >an OS 10 server.[/color]
        >
        > I have no experience with Mac, but it should be similar to Linux. In
        > php.ini, you can set the commandline to the MTA (mail transport
        > agent). This program than determines where to transport it.
        >
        > HTH, Jochen
        > --[/color]

        Try to find in the code a variable called "smtp" for example !
        And change the content with the news smtp server !

        Marouen


        Comment

        Working...