Zoho two factor authentication with Rails

Zoho two factor authentication with Rails

I would like to know how to configure zoho email with rails
i have two factor authenticaton
I generate a key for my app
but im not receing any email.

here are my configurations

config.action_mailer.smtp_settings = {
    :address              => "smtp.zoho.com",
    :port                 => 465,
    :domain               => "zoho.com",
    :user_name            => " admin@representantevirtual.com",
    :password             => "key generated for my app or my password to login ??",
    :authentication       => 'plain',
    :enable_starttls_auto => true  }

tks