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

Viewed 206892 time(s), 26 post(s), 9/5/2011 6:45:26 PM - by garyhand
9/13/2011 10:35:06 PM
161 Reputation 23 Total posts

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

21
9/14/2011 8:31:21 AM
15993 Reputation 2214 Total posts

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

22
9/14/2011 6:14:13 PM
161 Reputation 23 Total posts

I think I have found the problem. It looks like smtp requires authentication. Where do I add user and password in the smtp config?

23
9/15/2011 7:01:58 AM
15993 Reputation 2214 Total posts

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

24
9/15/2011 5:18:33 PM
161 Reputation 23 Total posts

That cleared up the problem. Once I added a user and password the email went through.

Thanks for all your help

Gary

25
9/15/2011 8:59:00 PM
15993 Reputation 2214 Total posts

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

26
1 2 3
This is a demo site for MonoX. Please visit Mono Software for more info.