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 9828 time(s), 17 post(s) 9 month(s) agoby Hutchful
mzilic

mzilic

9 month(s) ago
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

9 month(s) ago
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

9 month(s) ago
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

9 month(s) ago
Yes I do
This content has not been rated yet. 
235 Reputation 34 Total posts
Hutchful

Hutchful

9 month(s) ago
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

9 month(s) ago
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

9 month(s) ago
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