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. General Programming
  3. C#
  4. Add a signature to an e - mail message

Add a signature to an e - mail message

Scheduled Pinned Locked Moved C#
questionhelp
6 Posts 4 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.
  • C Offline
    C Offline
    Christiaan Laubscher
    wrote on last edited by
    #1

    Hello I am wondering if anybody can please help me with the following; 1) How do I attach a signature to a outbound e - mail message using for instance the System.Web.Mail namespace? Should I use another namespace? There does not appear to be a member with which one can accomplish this in the above - mentioned namespace. Thanking you in advance ChristiaanS :(

    ChristiaanS

    D T R 3 Replies Last reply
    0
    • C Christiaan Laubscher

      Hello I am wondering if anybody can please help me with the following; 1) How do I attach a signature to a outbound e - mail message using for instance the System.Web.Mail namespace? Should I use another namespace? There does not appear to be a member with which one can accomplish this in the above - mentioned namespace. Thanking you in advance ChristiaanS :(

      ChristiaanS

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      What do you mean by "add a signature"?? Are you talking about a digital signature that ID's the sender or are you talking about the signature that is at the bottom of an email message, like the signatures at the bottom of most post here on CP??

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008

      C 1 Reply Last reply
      0
      • C Christiaan Laubscher

        Hello I am wondering if anybody can please help me with the following; 1) How do I attach a signature to a outbound e - mail message using for instance the System.Web.Mail namespace? Should I use another namespace? There does not appear to be a member with which one can accomplish this in the above - mentioned namespace. Thanking you in advance ChristiaanS :(

        ChristiaanS

        T Offline
        T Offline
        Thomas Stockwell
        wrote on last edited by
        #3

        If you are talking about signatures that appear at the bottom of every emails (like salutations/advertisements), then that is just more stuff to include in the body of the email message.

        Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my homepage Oracle Studios[^]

        1 Reply Last reply
        0
        • D Dave Kreskowiak

          What do you mean by "add a signature"?? Are you talking about a digital signature that ID's the sender or are you talking about the signature that is at the bottom of an email message, like the signatures at the bottom of most post here on CP??

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008

          C Offline
          C Offline
          Christiaan Laubscher
          wrote on last edited by
          #4

          Hi Dave First of all; sorry for the ambiguous question i was very tired at the time. 1) By signature, I meant the signature that you find at the bottom of an e - mail message for instance. 2) I know also of the existence of the System.Net.Mail Namespace. I forgot to mention that. I can try running through the object - browser. I am sure that by the process of elimination I would find an object capable of doing what I need, but as stated previously; it`s a little quicker to ask someone in the know. Thanking you in advance ChristiaanS

          ChristiaanS

          D 1 Reply Last reply
          0
          • C Christiaan Laubscher

            Hi Dave First of all; sorry for the ambiguous question i was very tired at the time. 1) By signature, I meant the signature that you find at the bottom of an e - mail message for instance. 2) I know also of the existence of the System.Net.Mail Namespace. I forgot to mention that. I can try running through the object - browser. I am sure that by the process of elimination I would find an object capable of doing what I need, but as stated previously; it`s a little quicker to ask someone in the know. Thanking you in advance ChristiaanS

            ChristiaanS

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            ChristiaanS wrote:

            1. By signature, I meant the signature that you find at the bottom of an e - mail message for instance.

            Great. This makes it so much easier...

            ChristiaanS wrote:

            1. ... I am sure that by the process of elimination I would find an object capable of doing what I need, but as stated previously;

            Wrong. There's no such field in an email message. A signature is just a block of text that the email client automatically appends to the body of the message so you don't have to type the signature every time you write an email. You won't find what you're looking for in any email classes.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007, 2008

            1 Reply Last reply
            0
            • C Christiaan Laubscher

              Hello I am wondering if anybody can please help me with the following; 1) How do I attach a signature to a outbound e - mail message using for instance the System.Web.Mail namespace? Should I use another namespace? There does not appear to be a member with which one can accomplish this in the above - mentioned namespace. Thanking you in advance ChristiaanS :(

              ChristiaanS

              R Offline
              R Offline
              Reelix
              wrote on last edited by
              #6

              string mySig = "-= Reelix =-"; Mail.Body += "\n\n" + mySig; :)

              -= Reelix =-

              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