how to define gmail in E-mail setting?

what do is the server? and is the other setting are correct?

address:
port: 25
from: David@gmail.com
user: david@gmail.com
password: 123456


Thank you ,

Read the GMail help page: http://support.google.com/mail/bin/answer.py?hl=en&answer=13287

I have try do to this
but he didn’t approve the server
I wrote
server - smtp.gmail.com
and I get -

"Error in Server - ip add or ipv6 add expected "

in that case, find out the IP:

Normundss-iMac:~ normis$ ping smtp.gmail.com
PING gmail-smtp-msa.l.google.com (173.194.71.108): 56 data bytes
64 bytes from 173.194.71.108: icmp_seq=0 ttl=49 time=19.393 ms
64 bytes from 173.194.71.108: icmp_seq=1 ttl=49 time=19.094 ms
64 bytes from 173.194.71.108: icmp_seq=2 ttl=49 time=19.101 ms

still no good
I have try all the options
and always get the same error: (in the log)

Error sending email error connecting to server

can you ping the google IP from the router console?

type:

/ping 173.194.71.108

Yes,
and I get nice ping :slight_smile:
~250 ms

wow ,really?
so I can’t work with gmail ?
do you know if yahoo\ another E-mail in the web can work on RB?

Does your provider have an SMTP server that you can use?

Hi David1234. I can send through Gmail from my router. I just tested it with a v4.x and a v5.x router.
edit: v5.x has a separate entry for the port. For v4.x, the port is appended to the server ip.

/tool e-mail
set address=173.194.77.108
set port=587
set from=myuser@gmail.com
set user=myuser
set password=mypassword

send to=myuser@anotherdomain.com subject="email test" body="email test" tls=yes

If you have trouble, insure you have followed the setup instructions, especially the POP and IMAP enable.
http://support.google.com/mail/bin/answer.py?hl=en&answer=78775

For more info on the connection, you can enable e-mail logging.

/system logging
add topics=e-mail,debug action=memory

Try the send and check your log.

add: If you need to find the e-mail server for your area, you can use nslookup. From a command prompt:

nslookup smtp.gmail.com

thans sufertim for example

here is manual about /tool email

SurferTim,
Are you doing any consulting?
Saving lives in shark infested waters consulting? lol.

Only my own life lately. I got out of the water last Sunday when I realized I had 4 sharks circling me. They all made a pass within 20 feet of my board. It is going to be a “bumper crop” year for them here. I did not expect that many sharks until the middle of June.

I’m probably going to be on Discovery Channel’s Shark Week again this year. I’m famous one day a year, and it’s for my only lifesaving failure. :frowning:

add: I still paddle a flower out to Jamie every year on June 25th. Then I watch this video and my eyes leak.
http://www.youtube.com/watch?v=VHvo9ReC2rw

Wow,
She was sweetie! That’s rough, though you certainly have NO reason to be hard on yourself.
You made the effort, that’s really what matters!
Very honorable of you!
Best to you. :slight_smile:

sorry for the long time it took me
but I can’t send the E-mail using Gmail
this is what I config:

/tool e-mail
set address=173.194.77.108
set port=587
set from=david@gmail.com
set user=david
set password=password

and this is the log:
11:03:31 system,e-mail,error Error sending e-mail : error connecting to server

thanks

you have to add tls=yes in your /tool e-mail send command, as currently it is not possible to set in settings other way. 5.17 should have this problem fixed and new attribute is introduced in the settings to toggle STARTTLS.

edit: also check youtself what ip address you should connect to, as SMTP server addresses can differ depending on location you are.

thank you for your help
I didn’t know that I need to tick the tls when I send a mail with gmail.

Thank you!

FYI if anyone else is having these issues, nowadays you have to set your gmail account to “Allow Less Secure Apps” to ON.