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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T16:31:41+00:00 2026-06-14T16:31:41+00:00

I am getting this error whilst trying to send emails through gmail – Net::SMTPAuthenticationError

  • 0

I am getting this error whilst trying to send emails through gmail –

Net::SMTPAuthenticationError (530 5.7.0 Must issue a STARTTLS command first. pw17sm4922458lab.5
):
  app/controllers/contact_controller.rb:11:in `create'

I have tried loads of different things but to no avail, below is my settings from production.rb

  # Change mail delvery to either :smtp, :sendmail, :file, :test
  config.action_mailer.delivery_method = :smtp
  config.action_mailer.smtp_settings = {
    address: "smtp.gmail.com",
    port: 587,
    domain: "bizmodev.com",
    authentication: "plain",
    enable_starttls_auto: true,
    user_name: '******.*****@gmail.com',
    password: '********'
  }

  # Specify what domain to use for mailer URLs
  config.action_mailer.default_url_options = {host: "bizmo.co.uk"}

Any help on this matter would really be appreciated.

  • 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-14T16:31:42+00:00Added an answer on June 14, 2026 at 4:31 pm

    OK fixed it, basically I installed sendmail on my VPS and then restarted Apache and it now works –

    Ubuntu Sendmail command line install

    apt-get install sendmail
    

    Hope this may help someone in the future…

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

Sidebar

Related Questions

I´m getting this error while trying to commit to a svn repository: svn: MKACTIVITY
Keep getting this error after inserting a subdatasheet into a query and trying to
I'm getting an error whilst trying to add an event listener to a class
Getting this error: Each GROUP BY expression must contain at least one column that
Getting this error on chrome while trying to make cross-domain requests with GWT application.
I am getting below error whilst trying to persist an object that has a
I'm getting the following error whilst running this script. I've tried using the following:
im getting this error while trying to connect a mysql database to an editor,
I am getting this error with my externals server with hibernate. Whilst running my
Getting this error while I am trying to run /compile/build a Proiject Incompatible Types

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.