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 214563 time(s), 26 post(s) 05.09.2011 18:45:26by garyhand
garyhand

garyhand

13.09.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
Dieser Inhalt wurde noch nicht bewertet. 
161 Reputation 23 Total posts
khorvat

khorvat

14.09.2011 08: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
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts
garyhand

garyhand

14.09.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?
Dieser Inhalt wurde noch nicht bewertet. 
161 Reputation 23 Total posts
khorvat

khorvat

15.09.2011 07: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
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts
garyhand

garyhand

15.09.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
Dieser Inhalt wurde noch nicht bewertet. 
161 Reputation 23 Total posts
khorvat

khorvat

15.09.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
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts
1 2 3