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

216857 put(a) pogledan, 26 odgovor(a), 5.9.2011. 18:45:26 - Kreirao(la) garyhand
13.9.2011. 22:35:06
161 Reputacija 23 Ukupno objava

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
14.9.2011. 8:31:21
15993 Reputacija 2214 Ukupno objava

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
14.9.2011. 18:14:13
161 Reputacija 23 Ukupno objava

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
15.9.2011. 7:01:58
15993 Reputacija 2214 Ukupno objava

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
15.9.2011. 17:18:33
161 Reputacija 23 Ukupno objava

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

Thanks for all your help

Gary

25
15.9.2011. 20:59:00
15993 Reputacija 2214 Ukupno objava

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
Ovo je MonoX demo site. Posjetite Mono Software za više detalja.