Results 1 to 3 of 3

Thread: fsockopen() Error

  1. #1
    Join Date
    Dec 2007
    Posts
    123
    Thanks
    17
    Thanked 1 Time in 1 Post

    Question fsockopen() Error

    Hi,

    I am trying to send emails using PHP Gmailer.

    But getting this error

    Code:
    Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.gmail.com:465 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?)
    I am not able to understand what is wrong, because the same code works fine when I upload to my webhost.

    Herez Some info:
    - I am running this code from my localhost (http://127.0.0.1)
    - I am using Windows XP Pro SP2
    - Apache 2.2
    - PHP Version 5.2.4
    - allow_url_fopen and allow_url_include are turned On in PHP.ini

    Thanx in Advance

  2. #2
    Join Date
    Jul 2008
    Posts
    199
    Thanks
    6
    Thanked 58 Times in 57 Posts

    Default

    For SSL to work, you must have openSSL compiled with PHP, or as an extension.

  3. #3
    Join Date
    Dec 2007
    Posts
    123
    Thanks
    17
    Thanked 1 Time in 1 Post

    Default

    How do u do that?

    Plz help thanx

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
  •