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.

Monox web.config error during install (Closed) (Mono Support )

Viewed 199584 time(s), 26 post(s) 9/5/2011 6:45:26 PMby garyhand
garyhand

garyhand

9/13/2011 10:35:06 PM
The smtp section looks like this.

<smtp deliveryMethod="Network">
<network host="mail.handdance.net" />
</smtp>

Which users should I make admins? I installed the sample data so I have a whole bunch of Monox users.
Gary
This content has not been rated yet. 
161 Reputation 23 Total posts
khorvat

khorvat

9/14/2011 8:31:21 AM
Hi,

we can first try with MonoX admin user, you can open a new one or change the password for some of the existing users and let us know the credentials.

Can you please check the following 
1. Take a look at the EventLog on your server (if shared hosting is in place take a look at the shared hosting panel logs)
2. Check if your SMTP requires authentication, and if it is using standard ports
3. As a last resort you can add the following code to on of your pages to see the exact message mail sender is throwing
MailMessage mailMsg = new MailMessage();
mailMsg.From = new MailAddress(ApplicationSettings.MailFromAddress, ApplicationSettings.ApplicationTitle);
mailMsg.To.Add("support@mono-software.com");
mailMsg.Subject = "Test SMTP server";
mailMsg.Body = "This is a SMTP server test and MailSender test";
MonoXMailSender.GetInstance().SendMail(mailMsg);

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
garyhand

garyhand

9/14/2011 6:14:13 PM
I think I have found the problem. It looks like smtp requires authentication. Where do I add user and password in the smtp config?
This content has not been rated yet. 
161 Reputation 23 Total posts
khorvat

khorvat

9/15/2011 7:01:58 AM
Hi,

you need to add this in the SMTP configuration in the web.config. Please take a look at this article and this one.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
garyhand

garyhand

9/15/2011 5:18:33 PM
That cleared up the problem. Once I added a user and password the email went through.

Thanks for all your help

Gary
This content has not been rated yet. 
161 Reputation 23 Total posts
khorvat

khorvat

9/15/2011 8:59:00 PM
Hi,

I'm glad to hear that, if you need anything else let us know. I'm closing this topics and marking it as solved.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
1 2 3