Rails- Devise- confirmable- confirmation email not received

In an application I use devise authentication. I added
sign up, message is that email has been sent. But email is not received
my gmail account. How can I solve this problem. Do I need to add other
options as we do with actionmailer such as gmail port address, or
such things. Please help.

I am sorry. I found out. I needed to add the following lines to

config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:enable_starttls_auto => true,
:address => “smtp.gmail.com”,
:port => 587,
:domain => “mydomain.com”,
:authentication => :login,
:user_name => “[email protected]”,
:password => “mypass”