top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Configuring yahoo mail in smtp using Rails?

+1 vote
470 views

Am trying to send email with yahoo mail but it is not working but, with gmail works fine can someone correct me if anything is wrong in my smtp.

    production:
 :address: smtp.yahoo.mail.com
 :port: 587
 :user_name: test@yahoo.com
 :password: test
 :authentication: plain
 :enable_starttls_auto: true
 :domain : test.com
posted Feb 21, 2017 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

Address should be smtp.mail.yahoo.com

answer Feb 21, 2017 by Kiran Kumar
production:
 :address: smtp.mail.yahoo.com
 :port: 587
 :user_name: test@yahoo.com
 :password: test
 :authentication: plain
 :enable_starttls_auto: true
 :domain : test.com

above I have checked it but did not work
Similar Questions
0 votes

I did the following to implement cron jobs in rails 3 using a "runner" instead of a rake task.

STEP 1: I have whenever gem installed and scheduler.rb has following:
set :environment, development set :output, { :error => "/log/error.log", :standard => "/log/cron.log" } every 1.minute do runner "Cron.sendAutomaticsSMS()" end

STEP 2:
Cron file: lib/cron.rb
class Cron $ # End Whenever generated tasks for: /code/rails_projects/new/bhk/bigbhk-dev/

STEP 3:
Running cron job:
$sudo service cron restart cron stop/waiting cron start/running, process 4027

This does not do anything. I wait for operation as defined in sendAutomaticsSMS() method to execute but the cron doesnt even enter this method.

I dont see any error in log/development.log and there is no log/cron.log in my rails app.

+1 vote

We recently looked at mongoDB a bit. I was discussing using mongoDB with active record but was told that maybe there are other or better options. Can someone comment on that ?

Also, someone suggested storing a ruby array directly inside of a record where I would have opted for the array to be a separate set of records in active record using has_many and belongs_to .. It seemed to me that how I search on those child records would be a big factor but I soon realized I need to find out what are the options. Do people store arrays and hashes directly in mongo DB fields or is that not the best way to go ?

+1 vote

experimenting with optimizing some areas that involve long processing times on some SQL selects (or any background task, really). This is in Rails 4.0.0 with Ruby 2.0.0p247, PostgreSQL 9.2.4.

In this case, I can do intelligent dividing of selects to even the workload among N processes for the DB backend.

I currently am trying Spawnling, and this works for exactly one hit before I have to restart the web service:
spawns = [] ABC.each do # criteria for selects to divide load spawns

0 votes

Is there any advantages of installing rvm system-wide as opposed to just in the home directory of a user?

+1 vote

I have to build some report screeen for my project I want to use highcharts-rails gem to build this screen
I research some document about it but I want someone have ever done with highcharts-rails gem can give me some advice if I use highchart in Rails

...