hai problem in SMTP mail option!
-
following is the coding which works fine in local machine / but after i made host this on server, it shows "Mail sent successfully" but no mails received in my inbox! can any one solve this problem! thnx in advance! Dim mssg As New System.Web.Mail.MailMessage mssg.BodyFormat = Web.Mail.MailFormat.Html mssg.To = txtTo.Text mssg.From = txtFrom.Text mssg.Subject = txtSubject.Text mssg.Body = strMessage System.Web.Mail.SmtpMail.Send(mssg)
-
following is the coding which works fine in local machine / but after i made host this on server, it shows "Mail sent successfully" but no mails received in my inbox! can any one solve this problem! thnx in advance! Dim mssg As New System.Web.Mail.MailMessage mssg.BodyFormat = Web.Mail.MailFormat.Html mssg.To = txtTo.Text mssg.From = txtFrom.Text mssg.Subject = txtSubject.Text mssg.Body = strMessage System.Web.Mail.SmtpMail.Send(mssg)
hi, due to shortage of time i cant write whole solution. giving u a good tutorial go through it. here u go: http://aspnet.4guysfromrolla.com/articles/072606-1.aspx[^] hope u find it helpful if still have problem do let me know at myresponsebox@live.com. Regards. Atif Ali Bhatti.
-
following is the coding which works fine in local machine / but after i made host this on server, it shows "Mail sent successfully" but no mails received in my inbox! can any one solve this problem! thnx in advance! Dim mssg As New System.Web.Mail.MailMessage mssg.BodyFormat = Web.Mail.MailFormat.Html mssg.To = txtTo.Text mssg.From = txtFrom.Text mssg.Subject = txtSubject.Text mssg.Body = strMessage System.Web.Mail.SmtpMail.Send(mssg)
You may need to specify a mail server.
-
You may need to specify a mail server.
-
Yep, but on the production server, the default mail setting is probably disabled. You will need an actual server specified to send out your email.