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 )

Viewed 119147 time(s), 17 post(s) 2/6/2017 9:13:58 AMby Hutchful

Related topics

mzilic

mzilic

2/8/2017 5:37:39 PM
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
This content has not been rated yet. 
2218 Reputation 300 Total posts
Hutchful

Hutchful

2/8/2017 8:19:15 PM
Which block of code should I pay attention to then? All details provided are valid, (using smtp.gmail.com)

Regards.
This content has not been rated yet. 
235 Reputation 34 Total posts
imarusic

imarusic

2/9/2017 8:27:01 AM
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?
This content has not been rated yet. 
3016 Reputation 428 Total posts
Hutchful

Hutchful

2/9/2017 9:19:21 AM
Yes I do
This content has not been rated yet. 
235 Reputation 34 Total posts
Hutchful

Hutchful

2/9/2017 9:42:52 AM
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)
This content has not been rated yet. 
235 Reputation 34 Total posts
Hutchful

Hutchful

2/9/2017 10:12:05 AM
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.
This content has not been rated yet. 
235 Reputation 34 Total posts
imarusic

imarusic

2/9/2017 11:25:14 AM
Hi,

we are glad that you managed to resolve the problem.

Regards
This content has not been rated yet. 
3016 Reputation 428 Total posts
1 2