Send mail from Windows without access to php.ini?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bruce W...1

    #1

    Send mail from Windows without access to php.ini?

    I've found example on how to send email using PHP on Windows 2000. However they
    all say to set the outgoing SMTP server address in the php.ini file in the
    Windows system directory.

    That's a problem for me because I intend to upload this to my hosting company's
    server, where I do not have access to the system directory. Each user on this
    system has their own virtual mail server.

    Is there a way to specify the mail server in the script itself? Can anyone
    point me to an example of this?

    Thanks for your help.
  • bugs

    #2
    Re: Send mail from Windows without access to php.ini?

    Bruce W...1 <bruce@nodirect email.com> wrote:
    [color=blue]
    > Is there a way to specify the mail server in the script itself? Can anyone
    > point me to an example of this?[/color]

    As far as I know there is no way to specify the outgoing mail server

    Comment

    • Terry Austin

      #3
      Re: Send mail from Windows without access to php.ini?

      "Bruce W...1" <bruce@noDirect Email.com> wrote in
      news:3F674549.7 1F6E87E@noDirec tEmail.com:
      [color=blue]
      > I've found example on how to send email using PHP on Windows 2000.
      > However they all say to set the outgoing SMTP server address in the
      > php.ini file in the Windows system directory.
      >
      > That's a problem for me because I intend to upload this to my hosting
      > company's server, where I do not have access to the system directory.
      > Each user on this system has their own virtual mail server.
      >
      > Is there a way to specify the mail server in the script itself? Can
      > anyone point me to an example of this?
      >[/color]
      Have you tried a phpinfo() page to see if they have an SMTP server set? Or
      have they confirmed that they don't allow it?



      --
      Larry Flynt for Governor
      Bringing dignity back to the Governor's Mansion

      Terry Austin
      taustin@hyperbo oks.com

      Comment

      • Randell D.

        #4
        Re: Send mail from Windows without access to php.ini?


        "Bruce W...1" <bruce@noDirect Email.com> wrote in message
        news:3F674549.7 1F6E87E@noDirec tEmail.com...[color=blue]
        > I've found example on how to send email using PHP on Windows 2000.[/color]
        However they[color=blue]
        > all say to set the outgoing SMTP server address in the php.ini file in the
        > Windows system directory.
        >
        > That's a problem for me because I intend to upload this to my hosting[/color]
        company's[color=blue]
        > server, where I do not have access to the system directory. Each user on[/color]
        this[color=blue]
        > system has their own virtual mail server.
        >
        > Is there a way to specify the mail server in the script itself? Can[/color]
        anyone[color=blue]
        > point me to an example of this?
        >
        > Thanks for your help.[/color]

        If your ISP prohibits you then you're risking the chance that they might
        terminate your account without notice.

        But... if you wanted to be crafty, one could possibly create an SMTP
        conversation using PHP and sockets to send the email.


        Comment

        Working...