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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:49:23+00:00 2026-05-16T10:49:23+00:00

I am trying to set up a Sinatra based Ruby app to connect to

  • 0

I am trying to set up a Sinatra based Ruby app to connect to Gmail and send emails through SMTP. I followed the instructions I found on the web, but I always get this error:

Net::SMTPSyntaxError at /contact 502
5.5.1 Unrecognized command. k30sm7454901vbl.19

* file: smtp.rb
* location: check_response
* line: 930

It’s being raised from a core Ruby file

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/smtp.rb in check_response

…and here is the method in which it happens:

def check_response(res)
 unless res.success?

    raise res.exception_class, res.message

 end
end 

Can anyone tell me why this is happening and what I am doing wrong?

Thanks in advance!

  • 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-16T10:49:24+00:00Added an answer on May 16, 2026 at 10:49 am

    This post might be helpful, where the author states that Google’s SMTP demands the use of TLS which ruby’s SMTP lib doesn’t support out of the box. There’s also a stackoverflow answer.

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

Sidebar

Ask A Question

Stats

  • Questions 531k
  • Answers 531k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You could try the following: select t.* from (select r.*,… May 16, 2026 at 11:49 pm
  • Editorial Team
    Editorial Team added an answer Yes, that is the definition of a static property. Static… May 16, 2026 at 11:49 pm
  • Editorial Team
    Editorial Team added an answer Why don't you convert the Hash to a JSON string… May 16, 2026 at 11:49 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I'm trying to get my first Sinatra app off the ground, but am getting
I've got a Sinatra app that I'm trying to run on Dreamhost that makes
I'm trying to write a Sinatra app that will run on a shared Passenger
Im trying set the single table inheritance model type in a form. So i
I am trying set up databinding as described in the title. The problem I
I'm trying set the alpha to 50% on some radiobuttons in AS3. The problem
I'm trying set up an execution account following the steps here: http://msdn.microsoft.com/en-us/library/ms156302.aspx I follow
I am trying set up a simple dropdown list but I dont seem to
I'm trying perform a relatively basic TCP socket send/receive operation on Windows CE using
Trying to set up the Login control as a User control, but none of

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.