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 439981
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T20:49:38+00:00 2026-05-12T20:49:38+00:00

I used a PHP library to try and use my gmail account to send

  • 0

I used a PHP library to try and use my gmail account to send mails. Just an experiment, to see if I can set it up. After succesfully completing the send() method, I request debug information. This is what was shown to me:

220 mx.google.com ESMTP g9sm901968gvc.25
250 mx.google.com at your service
530 5.7.0 Must issue a STARTTLS command first. g9sm901968gvc.25
530 5.7.0 Must issue a STARTTLS command first. g9sm901968gvc.25
530 5.7.0 Must issue a STARTTLS command first. g9sm901968gvc.25
530 5.7.0 Must issue a STARTTLS command first. g9sm901968gvc.25
530 5.7.0 Must issue a STARTTLS command first. g9sm901968gvc.25
530 5.7.0 Must issue a STARTTLS command first. g9sm901968gvc.25
530 5.7.0 Must issue a STARTTLS command first. g9sm901968gvc.25 

I can see that something must have gone wrong, but I have no idea what to make of this.

Also, I am working on Windows 7 with PHP here.

  • 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-12T20:49:38+00:00Added an answer on May 12, 2026 at 8:49 pm

    You need to issue a code 250 STARTTLS command to the server. You’ll probably want to make sure that the PHP mailer you’re using can handle TLS communications. I recommend SwiftMailer.

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

Sidebar

Related Questions

I use the PHP library for Facebook Connect. The library is used as follows:
I'm examining the Standard PHP Library (SPL). I used only arrays before and just
I'm just starting out in Java, and only ever used PHP before - finding
I am thinking of writing a PHP extension library that will use the memcached
This question is for those who have used PHP library FPDF (http://www.fpdf.org ) to
i used dompdf as php pdf library with codeigniter project but it doesn't support
I'm using the adodb php library (http://phplens.com/adodb/) to connect to sql server 2005, can
Is there any interface or php library that can autenticate users by their fingerprint.
Having used PHP GD for some time I have decided to move to Imagemagick.
Tech used: PHP 5.3.10 Hi, I have an array (example below) I need to

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.