Jasohn
  •  Jasohn
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
2011-03-01T10:34:57Z

Hi,

I got the following error when testing.

Exception Getting Digest: System.InvalidOperationException: The SMTP host was not specified. at System.Net.Mail.SmtpClient.CheckHostAndPort() at System.Net.Mail.SmtpClient.get_ServicePoint() at YAF.Classes.Core.MailMessageExtensions.Send(MailMessage message) at YAF.Classes.Core.YafSendMail.b__0(MailMessage m) at System.Collections.Generic.List`1.ForEach(Action`1 action) at YAF.Classes.Core.YafSendMail.SendAll(IEnumerable`1 messages) at YAF.Classes.Core.YafSendMailExtensions.Send(YafSendMail sendMail, MailAddress fromAddress, MailAddress toAddress, String subject, String bodyText, String bodyHtml) at YAF.Classes.Core.YafSendMailExtensions.Send(YafSendMail sendMail, String fromEmail, String fromName, String toEmail, String toName, String subject, String bodyText, String bodyHtml) at YAF.Classes.Core.YafDigest.SendDigest(String digestHtml, String forumName, String toEmail, String toName, Boolean sendQueued) at YAF.Pages.Admin.digest.TestSend_Click(Object sender, EventArgs e)

Can anyone tell me how to configure the email setting?


Thank you
Sponsor
squirrel
2011-03-01T11:16:45Z
Originally Posted by: Jasohn 


Hi,

I got the following error when testing.

Exception Getting Digest: System.InvalidOperationException: The SMTP host was not specified. at System.Net.Mail.SmtpClient.CheckHostAndPort() at System.Net.Mail.SmtpClient.get_ServicePoint() at YAF.Classes.Core.MailMessageExtensions.Send(MailMessage message) at YAF.Classes.Core.YafSendMail.b__0(MailMessage m) at System.Collections.Generic.List`1.ForEach(Action`1 action) at YAF.Classes.Core.YafSendMail.SendAll(IEnumerable`1 messages) at YAF.Classes.Core.YafSendMailExtensions.Send(YafSendMail sendMail, MailAddress fromAddress, MailAddress toAddress, String subject, String bodyText, String bodyHtml) at YAF.Classes.Core.YafSendMailExtensions.Send(YafSendMail sendMail, String fromEmail, String fromName, String toEmail, String toName, String subject, String bodyText, String bodyHtml) at YAF.Classes.Core.YafDigest.SendDigest(String digestHtml, String forumName, String toEmail, String toName, Boolean sendQueued) at YAF.Pages.Admin.digest.TestSend_Click(Object sender, EventArgs e)

Can anyone tell me how to configure the email setting?


Thank you



You need to modify the file mail.config - that is where the mail server settings are stored.
If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
tha_watcha
2011-03-01T11:17:57Z
You need to configure it in the mail.config file (Description included), in the Applications root folder
UserPostedImage

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved