Saturday, March 31, 2012

SendUsing" configuration value is invalid.

hello every body

SendUsing" configuration value is invalid. this is error is on my forgotpassword.aspx page it is working very well on localhost after creating virtual directory

but when ever it is upload on server then give this types of error my code is given bellow--

Imports System.Configuration

Imports System.Web.Mail

If Email = txtEmail.TextThen

Dim MAILMSGAs MailMessage =New MailMessage()

MAILMSG.To = Email

MAILMSG.From ="jmorris@dotnet.itags.org.Onlinecatalog.com"

MAILMSG.Body ="Dear " + FName +" " + LName +"<br><br>"

MAILMSG.Body +="Here's your UserName and password:<br>"

MAILMSG.Body +="<b>UserName:</b> " + UserName +"<br><b>Password:</b> " + Password +""

MAILMSG.Body +="<br><br>Thanks,<br><br>"

MAILMSG.Body +="Onlinecatelog.com"

MAILMSG.Subject ="Account Password of Onlinecalalog "

MAILMSG.BodyFormat = MailFormat.Html

SmtpMail.Send(MAILMSG)

Else

Label3.Text ="Enter your proper E-Mail ID."

EndIf'-----------Send E-mail to New User ----------//

EndIf

so if any body have any solution regarding this then plz inform me as soon as its too urgent for me..................

thanks in advance


Running ASP.NET 1.1? Did you look atwww.systemwebmail.com?

Jeff

0 comments:

Post a Comment