Gmail

Hi Guys,

Is anybody succesfully using gmail in OH2, I used it previously with OH1.8, but it fails with connection timeout now. Any ideas on settings ? I have converted mail.cfg to represent the correct settings as expected.

Chris

@chrishiscox

Chris,

I use gmail for text notifications in OH2. My mail.cfg looks like this:

# The SMTP server hostname, e.g. "smtp.gmail.com"
hostname=smtp.gmail.com

# the SMTP port to use (optional, defaults to 25 (resp. 587 for TLS/SSL))
port=465

# the username and password if the SMTP server requires authentication
username=[your_user_name]
password=[your_password]

# The email address to use for sending mails
from=[your_user_name]@gmail.com

# set to "true", if STARTTLS is enabled (not required) for the connection
# (optional, defaults to false)
#tls=

# set to "true", if SSL negotiation should occur on connection
# do not use both tls=true and ssl=true
# (optional, defaults to false)
ssl=true

# set to "true", if POP before SMTP (another authentication mechanism)
# should be enabled. Username and Password are taken from the above
# configuration (optional, default to false)
#popbeforesmtp=

# Character set used to encode message body
# (optional, if not provided platform default is used)
#charset=

Thnx steve. I had tls as setting, which was ok in 1.8. I tried SSL but it
still fails. Looks like i will have to try manual connection just in case
it’s a router issue. I will post my trip down telnet lane.