Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. hai problem in SMTP mail option!

hai problem in SMTP mail option!

Scheduled Pinned Locked Moved ASP.NET
htmlsysadminhelp
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    i gr8
    wrote on last edited by
    #1

    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)

    A P 2 Replies Last reply
    0
    • I i gr8

      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)

      A Offline
      A Offline
      Atif Ali Bhatti
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • I i gr8

        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)

        P Offline
        P Offline
        Paddy Boyd
        wrote on last edited by
        #3

        You may need to specify a mail server.

        I 1 Reply Last reply
        0
        • P Paddy Boyd

          You may need to specify a mail server.

          I Offline
          I Offline
          i gr8
          wrote on last edited by
          #4

          no it works me in local !

          P 1 Reply Last reply
          0
          • I i gr8

            no it works me in local !

            P Offline
            P Offline
            Paddy Boyd
            wrote on last edited by
            #5

            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.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups