MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

User authentication by email  (Mono Support )

126935 put(a) pogledan, 17 odgovor(a) 6.2.2017. 9:13:58Kreirao(la) Hutchful

Povezane teme

mzilic

mzilic

8.2.2017. 17:37:39
Hello,

Judging by the logs you seem to have an issue with your SMTP configuration. Either MonoX is not properly configured to connect to your SMTP or SMTP server is refusing connections from MonoX to send out activation e-mails.

Regards
Ovaj sadržaj još nije ocijenjen. 
2218 Reputacija 300 Ukupno objava
Hutchful

Hutchful

8.2.2017. 20:19:15
Which block of code should I pay attention to then? All details provided are valid, (using smtp.gmail.com)

Regards.
Ovaj sadržaj još nije ocijenjen. 
235 Reputacija 34 Ukupno objava
imarusic

imarusic

9.2.2017. 8:27:01
Hi,

as Mario mentioned above, your mail server configuration is not valid.


Unable to connect to the remote server
No connection could be made because the target machine actively refused it...

Do you have any activated and working account which can be used to log in?
Ovaj sadržaj još nije ocijenjen. 
3016 Reputacija 428 Ukupno objava
Hutchful

Hutchful

9.2.2017. 9:19:21
Yes I do
Ovaj sadržaj još nije ocijenjen. 
235 Reputacija 34 Ukupno objava
Hutchful

Hutchful

9.2.2017. 9:42:52
Hello,

Okay, so I just changed the port number to 587 for smtp.gmail.com from 465, and I got a notification from Gmail immediately that someone was trying to access my account. I'm sure it's the attempt by MonoX to connect, (consequently gmail blocked that request). How do I ask Gmail to allow the request? (P.S. I've already turned Allow Less Secure Apps:ON)
Ovaj sadržaj još nije ocijenjen. 
235 Reputacija 34 Ukupno objava
Hutchful

Hutchful

9.2.2017. 10:12:05
Hello,

So I've been able to fix the issue. The solution was to:

1. EnableSSL (set to true)
2. Use an account that grants permission to third part applications
3. For Gmail use port 587 instead of 465

Thanks imarusic, mzilic and slaven for your help!

Best Regards,
Hutchful.
Ovaj sadržaj još nije ocijenjen. 
235 Reputacija 34 Ukupno objava
imarusic

imarusic

9.2.2017. 11:25:14
Hi,

we are glad that you managed to resolve the problem.

Regards
Ovaj sadržaj još nije ocijenjen. 
3016 Reputacija 428 Ukupno objava
1 2