Hi Folks,
I wrote a code to send email for local intranet website. when i tested the doce worked fine, sent email to where ever i wanted. but when i uploaded on intranet server it displayed "The "SendUsing" configuration value is invalid" error. After a look through server i realised in IIS the in no SMTP Virtual Server installed which i have on my local system. but, this company i work for they use their mail server. like mail4.domain.com. i dont understand. any help will be appresiated. I am posting code which i am using for my local system to send software.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.ClickemailMessage()
End Sub Private Sub emailMessage() Dim sb As StringBuilder = New StringBuilder Dim msgMail As MailMessage = New MailMessagemsgMail.To = ConfigurationSettings.AppSettings("ToEmail")
msgMail.From = Email.Text
msgMail.Cc = ConfigurationSettings.AppSettings("CcEmail")
msgMail.Subject = Subject.Text
msgMail.BodyFormat = MailFormat.Html
sb.Append(Phone.Text)
sb.Append("<br>")
sb.Append(Message.Text)
msgMail.Body = sb.ToString
SmtpMail.Send(msgMail)
End Sub

The "SendUsing" configuration value is invalid
Jonathan MacCollum
Hello Jagjot,
This forum is for questions specifically related to Windows Desktop Search. I would suggest asking this question in the IIS newsgroup for better answers.
http://www.microsoft.com/technet/community/newsgroups/topics/iis.mspx
Thanks,
Paul Nystrom - MSFT