multipart/alternative mime format for smtp mail

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • c# newbie

    multipart/alternative mime format for smtp mail

    System.Web.Mail .MailFormat

    The enumerated values for MailFormat are:

    Html

    Text

    How can I send a multipart/alternative format message ?

    (where both an html and text version are contained)


  • Bill Priess

    #2
    Re: multipart/alternative mime format for smtp mail

    I don't think it is possible without writing a class that derives from the
    MailMessage class and write in that functionality yourself.

    Or, you could just send two messages, one for HTML, one for text... ;)

    HTH,
    Bill P.
    "c# newbie" <nospam@leave.m e.alone> wrote in message
    news:6b26f153d6 f3031db10843937 0559c64@news.te ranews.com...[color=blue]
    > System.Web.Mail .MailFormat
    >
    > The enumerated values for MailFormat are:
    >
    > Html
    >
    > Text
    >
    > How can I send a multipart/alternative format message ?
    >
    > (where both an html and text version are contained)
    >
    >[/color]


    Comment

    • Bill Priess

      #3
      Re: multipart/alternative mime format for smtp mail

      I don't think it is possible without writing a class that derives from the
      MailMessage class and write in that functionality yourself.

      Or, you could just send two messages, one for HTML, one for text... ;)

      HTH,
      Bill P.
      "c# newbie" <nospam@leave.m e.alone> wrote in message
      news:6b26f153d6 f3031db10843937 0559c64@news.te ranews.com...[color=blue]
      > System.Web.Mail .MailFormat
      >
      > The enumerated values for MailFormat are:
      >
      > Html
      >
      > Text
      >
      > How can I send a multipart/alternative format message ?
      >
      > (where both an html and text version are contained)
      >
      >[/color]


      Comment

      • c# newbie

        #4
        Re: multipart/alternative mime format for smtp mail

        I found an article with a class that doesn't use smtp or MailMessage but
        offers multipart



        I am trying right now to see if I can get it to work and then maybe switch
        to that.

        I think extending the MailMessage class would be a more elegant solution,
        but I am not sure how to go about that.


        "Bill Priess" <no.spam@nospam .com> wrote in message
        news:OZPde6srDH A.424@TK2MSFTNG P11.phx.gbl...[color=blue]
        > I don't think it is possible without writing a class that derives from the
        > MailMessage class and write in that functionality yourself.
        >
        > Or, you could just send two messages, one for HTML, one for text... ;)
        >
        > HTH,
        > Bill P.
        > "c# newbie" <nospam@leave.m e.alone> wrote in message
        > news:6b26f153d6 f3031db10843937 0559c64@news.te ranews.com...[color=green]
        > > System.Web.Mail .MailFormat
        > >
        > > The enumerated values for MailFormat are:
        > >
        > > Html
        > >
        > > Text
        > >
        > > How can I send a multipart/alternative format message ?
        > >
        > > (where both an html and text version are contained)
        > >
        > >[/color]
        >
        >[/color]


        Comment

        • c# newbie

          #5
          Re: multipart/alternative mime format for smtp mail

          I found an article with a class that doesn't use smtp or MailMessage but
          offers multipart



          I am trying right now to see if I can get it to work and then maybe switch
          to that.

          I think extending the MailMessage class would be a more elegant solution,
          but I am not sure how to go about that.


          "Bill Priess" <no.spam@nospam .com> wrote in message
          news:OZPde6srDH A.424@TK2MSFTNG P11.phx.gbl...[color=blue]
          > I don't think it is possible without writing a class that derives from the
          > MailMessage class and write in that functionality yourself.
          >
          > Or, you could just send two messages, one for HTML, one for text... ;)
          >
          > HTH,
          > Bill P.
          > "c# newbie" <nospam@leave.m e.alone> wrote in message
          > news:6b26f153d6 f3031db10843937 0559c64@news.te ranews.com...[color=green]
          > > System.Web.Mail .MailFormat
          > >
          > > The enumerated values for MailFormat are:
          > >
          > > Html
          > >
          > > Text
          > >
          > > How can I send a multipart/alternative format message ?
          > >
          > > (where both an html and text version are contained)
          > >
          > >[/color]
          >
          >[/color]


          Comment

          • Bill

            #6
            Re: multipart/alternative mime format for smtp mail

            You could also use http://www.freesmtp.net

            This does it for you and is free.

            "c# newbie" <nospam@leave.m e.alone> wrote in message
            news:c53dce1f98 38cbfe1055d7be5 6e84532@news.te ranews.com...[color=blue]
            > I found an article with a class that doesn't use smtp or MailMessage but
            > offers multipart
            >
            > http://www.eggheadcafe.com/articles/20030316.asp
            >
            > I am trying right now to see if I can get it to work and then maybe switch
            > to that.
            >
            > I think extending the MailMessage class would be a more elegant solution,
            > but I am not sure how to go about that.
            >
            >
            > "Bill Priess" <no.spam@nospam .com> wrote in message
            > news:OZPde6srDH A.424@TK2MSFTNG P11.phx.gbl...[color=green]
            > > I don't think it is possible without writing a class that derives from[/color][/color]
            the[color=blue][color=green]
            > > MailMessage class and write in that functionality yourself.
            > >
            > > Or, you could just send two messages, one for HTML, one for text... ;)
            > >
            > > HTH,
            > > Bill P.
            > > "c# newbie" <nospam@leave.m e.alone> wrote in message
            > > news:6b26f153d6 f3031db10843937 0559c64@news.te ranews.com...[color=darkred]
            > > > System.Web.Mail .MailFormat
            > > >
            > > > The enumerated values for MailFormat are:
            > > >
            > > > Html
            > > >
            > > > Text
            > > >
            > > > How can I send a multipart/alternative format message ?
            > > >
            > > > (where both an html and text version are contained)
            > > >
            > > >[/color]
            > >
            > >[/color]
            >
            >[/color]


            Comment

            • Bill

              #7
              Re: multipart/alternative mime format for smtp mail

              You could also use http://www.freesmtp.net

              This does it for you and is free.

              "c# newbie" <nospam@leave.m e.alone> wrote in message
              news:c53dce1f98 38cbfe1055d7be5 6e84532@news.te ranews.com...[color=blue]
              > I found an article with a class that doesn't use smtp or MailMessage but
              > offers multipart
              >
              > http://www.eggheadcafe.com/articles/20030316.asp
              >
              > I am trying right now to see if I can get it to work and then maybe switch
              > to that.
              >
              > I think extending the MailMessage class would be a more elegant solution,
              > but I am not sure how to go about that.
              >
              >
              > "Bill Priess" <no.spam@nospam .com> wrote in message
              > news:OZPde6srDH A.424@TK2MSFTNG P11.phx.gbl...[color=green]
              > > I don't think it is possible without writing a class that derives from[/color][/color]
              the[color=blue][color=green]
              > > MailMessage class and write in that functionality yourself.
              > >
              > > Or, you could just send two messages, one for HTML, one for text... ;)
              > >
              > > HTH,
              > > Bill P.
              > > "c# newbie" <nospam@leave.m e.alone> wrote in message
              > > news:6b26f153d6 f3031db10843937 0559c64@news.te ranews.com...[color=darkred]
              > > > System.Web.Mail .MailFormat
              > > >
              > > > The enumerated values for MailFormat are:
              > > >
              > > > Html
              > > >
              > > > Text
              > > >
              > > > How can I send a multipart/alternative format message ?
              > > >
              > > > (where both an html and text version are contained)
              > > >
              > > >[/color]
              > >
              > >[/color]
              >
              >[/color]


              Comment

              Working...