Results 1 to 3 of 3

Thread: Changing SMTP port (resolved)

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2003
    Location
    The United Kingdom
    Posts
    45

    Changing SMTP port (resolved)

    Hi, I have an smtp server but instead of using port 25 it runs on port 26. There is a line in the php.ini file to change which smtp server it uses for the mail command but I cant find a line to change to port.

    Do you know how I can make it use port 26 which is what the smtp server is listening on?
    Last edited by MixMaster; Nov 2nd, 2004 at 09:12 AM.
    Please don't discourage me, I never hurt anyone.

    "You're watching FOX News channel, real journalism, fair and balanced." - Ha

  2. #2
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906
    http://uk.php.net/manual/en/ref.mail.php

    Have a look at this. You can change the SMTP prot by using the smtp_port directive. This can be changed at ruintime by your scripts too.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  3. #3

    Thread Starter
    Member
    Join Date
    Sep 2003
    Location
    The United Kingdom
    Posts
    45
    Thank's changing smtp_port seems to have done the trick, didnt see it originally as it wasnt in the php.ini to start with, is now though.

    Thanks again
    Please don't discourage me, I never hurt anyone.

    "You're watching FOX News channel, real journalism, fair and balanced." - Ha

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width