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

  • Home
  • SEARCH
  • 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 6033583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:30:14+00:00 2026-05-23T05:30:14+00:00

I want to send an email from my ruby script using Pony mail. When

  • 0

I want to send an email from my ruby script using Pony mail. When I set it up for gmail smtp it works fine. When I set it up to use our ISP’s SMPT I get this error.

I was told by iiNet representative that no authentication is needed. When I send email from command line using mail command it works nicely. Or even when sending email using telnet mail.iinet.com.au 25 no authentication is required.

/usr/lib64/ruby/1.8/net/smtp.rb:777:in check_auth_args': SMTP-AUTH requested but missing secret phrase (ArgumentError)

for settings

  Pony.mail(:to => 'radek@edume.com.au', 
        :from => 'radek@edu.com.au',
            :subject => 'overnight testing results', 
            :body => results, 
            :via => :smtp, 
            :via_options => {
               #:openssl_verify_mode => OpenSSL::SSL::VERIFY_NONE,
               :address     => 'mail.iinet.com.au',
               :port     => '25',
               #:enable_starttls_auto => true,
               #:user_name     => 'qwer@mail.iinet.com.au',
               #:password => '1234',
               :authentication     => :plain,           # :plain, :login, :cram_md5, no auth by default
                :domain               => "localhost.localdomain" # the HELO domain provided by the client to the server
                                                     }
) 

conf

  • ruby 1.8.7 (2010-01-10 patchlevel (249) [x86_64-linux]
  • mail (2.3.0)
  • mime-types (1.16)
  • pony (1.2)

update I

if I do telnet mail.iinet.com.au 25 with below commands the email is sent and received. No authentication required.

mail from: from@address
rcpt to: to@address
data
from: from@address
to: to@address
subject: subject line
message body
.
  • 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-23T05:30:15+00:00Added an answer on May 23, 2026 at 5:30 am

    I posted a question to ponyrb group and the solution is to use enable_starttls_auto => false

    so the final working code for me is

    Pony.mail(
      :to => 'radek@edu.com.au', 
      :from => 'radek@edu.com.au',
      :subject => 'test', 
      :body => "test pony", 
      :via => :smtp, 
      :via_options => {
          :address     => 'mail.iinet.com.au',
          :port     => '25',
          :enable_starttls_auto => false
        }
    )
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to send email from a Ruby application. Is there a call in
I am using the Gmail SMTP server to send out emails from users of
I want to send email from Android virtual machine to my gmail account. Problem:
I'm using a php script to send an email that I want to send
I want to send an email from within my iPhone application, primarily because i
I want to be able to send e-mail from my own domain (Domain.com) over
I am sending email through gmail, i want to send some html content, is
I want to send email from my application without configuration email in android device.
I want to attach a video and send email from my application. I downloaded
I want to send an email with an attachment using the following code (Python

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.