Newbie question

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
perherman
Posts: 20
Joined: Thu Nov 23, 2017 10:41 am
Contact:

Newbie question

Post by perherman »

Hi
I have started working from scratch to learn Aware IM.

I am stuck in the Quicktour document. I have made the initial application, but there is something wrong with my email settings.

And now I cannot find where to change the settings. I know I filled them in somewhere along the line, but now when I read the manual I don't find where to do it,

Any help appreciated.

Per-Olof
perherman
Posts: 20
Joined: Thu Nov 23, 2017 10:41 am
Contact:

Re: Newbie question

Post by perherman »

Hi again,
Found it.

However I get the following error:

Email was not sent due to exception com.sun.mail.util.MailConnectException Couldn't connect to host, port: [email protected], 465; timeout -1

Per-Olof
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: Newbie question

Post by hpl123 »

perherman wrote: Mon May 01, 2023 12:16 pm Hi again,
Found it.

However I get the following error:

Email was not sent due to exception com.sun.mail.util.MailConnectException Couldn't connect to host, port: [email protected], 465; timeout -1

Per-Olof
The error indicates Aware not being able to connect to the email provider. Doublecheck so your email settings are correct and if you still get the same error, try changing the port and security settings Aware use to connect to the email provider i.e the SSL, TLS etc. settings + the accompanying port settings).
Henrik (V8 Developer Ed. - Windows)
perherman
Posts: 20
Joined: Thu Nov 23, 2017 10:41 am
Contact:

Re: Newbie question

Post by perherman »

Thanks,

I will try,

Is it possible to use a Gmail account to send mail?

Per-Olof
perherman
Posts: 20
Joined: Thu Nov 23, 2017 10:41 am
Contact:

Re: Newbie question

Post by perherman »

I actually tried with my gmail account, and got this error in stead

Email was not sent due to exception javax.mail.AuthenticationFailedException 534-5.7.9 Application-specific password required. Learn more at
534 5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor g11-20020a170906394b00b0094f4f2db7e0sm15219592eje.143 - gsmtp

What does it mean "Application -specific password required"
perherman
Posts: 20
Joined: Thu Nov 23, 2017 10:41 am
Contact:

Re: Newbie question

Post by perherman »

Ok,
was able to fix a specific password via this link:
https://myaccount.google.com/apppasswor ... kdLcW4iN2Q

but still get an error:

Unable to connect to remote host smtp.gmail.com
INFO: Timer_NOTIF_0.Controller has commited 400 transactions
INFO: TS has made 400 polls
INFO: InputAdaptor3.Controller has commited 400 transactions
Setting TLS: false SSL: false
Send failed exception thrown 530 5.7.0 Must issue a STARTTLS command first. r22-20020aa7d156000000b004f9ca99cf5csm12133378edo.92 - gsmtp
perherman
Posts: 20
Joined: Thu Nov 23, 2017 10:41 am
Contact:

Re: Newbie question

Post by perherman »

Ok,
fixed it, TLS needs to be ticked!
Post Reply