Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6969519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:35:29+00:00 2026-05-27T16:35:29+00:00

There are like 1000 posts on this, but somehow I cant get things to

  • 0

There are like 1000 posts on this, but somehow I cant get things to work. I use

$config = array('ssl' => 'tls',
            'auth' => 'login',
                'port' => 587,
                'username' => 'myusername@gmail.com',
                'password' => 'mypassword');

$tr = new Zend_Mail_Transport_Smtp('smtp.gmail.com', $config);

and get a

Fatal error: Uncaught exception 'Zend_Mail_Protocol_Exception' with message 'Unable to connect via TLS'

Using

$config = array('ssl' => 'ssl',
                'auth' => 'login',
                'port' => 465,
                'username' => 'myusername@gmail.com',
                'password' => 'mypassword');

$tr = new Zend_Mail_Transport_Smtp('smtp.gmail.com', $config);

I am getting

Fatal error: Uncaught exception 'Zend_Mail_Protocol_Exception' with message 'Could not open socket'

Btw, I am using xampp 1.7.7. Any help anyone?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T16:35:30+00:00Added an answer on May 27, 2026 at 4:35 pm

    I’m pretty sure Gmail doesn’t allow SSL/TLS. If you remove that line I believe the config above should work, assuming correct username and password.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

var clickable = ApplyClickableLinkToClass($j(.rc_blueBtn)); setTimeout(clickable, 1000); But if I call it like this there
I feel like there's a pretty simple way to do this, but I'm not
It feels like there must be some semi-simple solution to this, but I just
Is there anything like this outside of the application delegate? I would just like
well i did my research and seen a lot of posts about this but
I am using a query like this in jSoup: Document doc = Jsoup.connect(urlString).timeout(1000).post(); It
replace newline seems to be a question asked here and there like hundred times
Seems like there should be... Right now it just seems like magic that you
Looks like there is no Load event for usercontrol on the CF. I'm used
It looks like there are reports released on occasion that detail downloads for some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.