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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T22:53:20+00:00 2026-06-14T22:53:20+00:00

I have a SMTP server that needs to authenticate with extended smtp (esmtp) and

  • 0

I have a SMTP server that needs to authenticate with extended smtp (esmtp) and i can’t find a way to make my rails app to authenticate with EHLO instead of HELO.

any ideas ?

  • 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-06-14T22:53:21+00:00Added an answer on June 14, 2026 at 10:53 pm

    Are you sure that Rails isn’t already doing this? Digging through the source, Rails delegates to the Mail gem which delegates to Net::SMTP. If you look at the Ruby source for lib/net/smtp.rb, you’ll see that at some point it calls a private do_helo method which checks the @esmtp variable and if true, does ehlo instead of helo. Looking back up at the initialize, it sets @esmtp to true by default. I don’t see anywhere that it’s getting unset.

    Perhaps it’s something else?

    For the reference do_helo in Net::SMTP

    def do_helo(helodomain)
       begin
         if @esmtp
           ehlo helodomain
         else
           helo helodomain
         end
       rescue Net::ProtocolError
         if @esmtp
           @esmtp = false
           @error_occured = false
           retry
         end
         raise
       end
    end
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a client app that needs to save a username/password for an SMTP
I have a SMTP server that only accepts a predefined From sender. However, I
I have a SMTP account that does not use encrypted connection. I can use
I'm looking for an SMTP server that I can setup on a windows machine:
I have recently configured IIS 7.5 to use the SMTP server. Now, I have
I have written a perl script to send email using the gmail's smtp server:
i have an application that uses SMTP to send emails from an yahoo account.
I have an asp.net Web Forms application that needs to send emails. I like
I have PEAR Mail and Mail_mime all working very nicely using gmail's SMTP server
I have an application that needs to send e-mails. Currently, this is what I

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.