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 (Zatvorena) (Mono Support )

208377 put(a) pogledan, 26 odgovor(a) 5.9.2011. 18:45:26Kreirao(la) garyhand
garyhand

garyhand

13.9.2011. 22:35:06
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
Ovaj sadržaj još nije ocijenjen. 
161 Reputacija 23 Ukupno objava
khorvat

khorvat

14.9.2011. 8:31:21
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
garyhand

garyhand

14.9.2011. 18:14:13
I think I have found the problem. It looks like smtp requires authentication. Where do I add user and password in the smtp config?
Ovaj sadržaj još nije ocijenjen. 
161 Reputacija 23 Ukupno objava
khorvat

khorvat

15.9.2011. 7:01:58
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
garyhand

garyhand

15.9.2011. 17:18:33
That cleared up the problem. Once I added a user and password the email went through.

Thanks for all your help

Gary
Ovaj sadržaj još nije ocijenjen. 
161 Reputacija 23 Ukupno objava
khorvat

khorvat

15.9.2011. 20:59:00
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
1 2 3