Page 4 of 6 FirstFirst ... 23456 LastLast
Results 31 to 40 of 55

Thread: PHP SMTP_port. . . huh?

  1. #31
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Should work fine. Unless they've changed it, it sits on smtp.yahoo.com:25.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  2. #32
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    Thanks Twey.
    Quote Originally Posted by Twey View Post
    Should work fine. Unless they've changed it, it sits on smtp.yahoo.com:25.
    Here are my settings:
    Code:
    ini_set('smtp_port',25);
    ini_set('SMTP','smtp.yahoo.com');
    ini_set('sendmail_from','me@yahoo.com');
    It doesn't seem to work.

    Warning: mail() [function.mail]: Failed to connect to mailserver at "smtp.yahoo.com" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in FILE on line 39
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

  3. #33
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Ah... they've changed it. Well, try another mailserver then, smtp.comcast.net:25 perhaps.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  4. #34
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    Alright, so here is the deal: My goal was to get the site completely functional by 01/01/08, and this is the last thing on the check list

    I was unable to get anything to work, so could someone provide me with a working setting for either yahoo or msn ? I would be very grateful for any more help I can get on this.

    Or, if there is some kind of a fix for hosting the SMTP server myself (without changing my ISP), that would be great too.
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

  5. #35
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Although I have never seen the changes make a difference myself, I have heard others say that changing from port 25 to port 2525 worked for them.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  6. #36
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    I have an account to gmail that I am going to use, but in php I am getting this:

    530 5.7.0 Must issue a STARTTLS command first v35sm3119040wah
    I don't know what to do. How do I fix this in PHP? (all the gmail help is for outlook. . . )
    Something about SSL or something ? *Sigh*
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

  7. #37
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Kind of, the server is complaining that you're not using (TLS) encryption.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  8. #38
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    How do I do that?
    EDIT:------------
    Okay, it's the fsockopen() function, right? But how does that fit in to the rest of the code?
    Last edited by Jas; 12-21-2007 at 10:34 PM.
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

  9. #39
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    It doesn't at all. I don't think the PHP mail() supports TLS. Usually one would just run sendmail on the host.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  10. #40
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    Okay, how do I do that? I am getting so confuised and annoyed and frustrated!
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

Bookmarks

Posting Permissions

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