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. Client Emails

Client Emails

Scheduled Pinned Locked Moved ASP.NET
designhelpquestion
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.
  • T Offline
    T Offline
    TheEagle
    wrote on last edited by
    #1

    Hi.. I have two questions about client emails: The First question : How could i call mailto in code-behind page to run mailto dynamically and to pass to it the SUBJECT and the BODY(as string variables). The Second : How could i make my web application infroms the client that i (WebSite Administrator) have received his message dynamically. Please help me i need the answers for these questions to complete my website design.:((

    B 1 Reply Last reply
    0
    • T TheEagle

      Hi.. I have two questions about client emails: The First question : How could i call mailto in code-behind page to run mailto dynamically and to pass to it the SUBJECT and the BODY(as string variables). The Second : How could i make my web application infroms the client that i (WebSite Administrator) have received his message dynamically. Please help me i need the answers for these questions to complete my website design.:((

      B Offline
      B Offline
      benqazou
      wrote on last edited by
      #2

      Is this what you mean by your first question : [tell a friend](mailto:someone@somewhere.com?subject=look at this website&body=Hi, I found this website and thought you might like it http://www.geocities.com/wowhtml/) ?? -- modified at 9:22 Monday 27th March, 2006

      T 1 Reply Last reply
      0
      • B benqazou

        Is this what you mean by your first question : [tell a friend](mailto:someone@somewhere.com?subject=look at this website&body=Hi, I found this website and thought you might like it http://www.geocities.com/wowhtml/) ?? -- modified at 9:22 Monday 27th March, 2006

        T Offline
        T Offline
        TheEagle
        wrote on last edited by
        #3

        I meant something like this: string to=TextBox1.Text; string subject=TextBox2.Text; string Body=TextBox3.Text; Response.Redirect("mailto:"+to+"?SUBJECT="+subject+"&BODY="+body); But this Redirect doesnt work as i expected. if this work there will be no need to click a link.

        I 1 Reply Last reply
        0
        • T TheEagle

          I meant something like this: string to=TextBox1.Text; string subject=TextBox2.Text; string Body=TextBox3.Text; Response.Redirect("mailto:"+to+"?SUBJECT="+subject+"&BODY="+body); But this Redirect doesnt work as i expected. if this work there will be no need to click a link.

          I Offline
          I Offline
          Ista
          wrote on last edited by
          #4

          use them SmtpMail namespace. Mail is an object not a web page. putting the word "mailto:" inside and <a> anchor tag will tell the browser to use the default mail client But, spybots will surely find it and send spam to the mailer in question. Nick 1 line of code equals many bugs. So don't write any!!

          T 1 Reply Last reply
          0
          • I Ista

            use them SmtpMail namespace. Mail is an object not a web page. putting the word "mailto:" inside and <a> anchor tag will tell the browser to use the default mail client But, spybots will surely find it and send spam to the mailer in question. Nick 1 line of code equals many bugs. So don't write any!!

            T Offline
            T Offline
            TheEagle
            wrote on last edited by
            #5

            I want to let Clients send messages to me.I made a webform that helps them to build a message(by choosing available requests from Dropdown Lists)Could i use SmtpMail to perform this?. If you sign up in my website and then click Send a request Button or add this project to my Request Account you will see the webform that should build the client request message and send it to my email. my WebSite URL:www.engineeringprojects.net The Send the Request Button is not working and the WebSite's Database is not complete yet..Sorry for that..but i will try to complete it after i find a solution for this problem.

            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