mail sent by php to outlook missing two characters after every equals sign

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • karen

    #1

    mail sent by php to outlook missing two characters after every equals sign

    hi, not sure if this is a php issue or an outlook issue or what.

    trying to send an html message via php, and it looks fine in hotmail,
    yahoo, and earthlink webmail, but when i receive the same message (via
    earthlinkg) into outlook, there are two characters missing after every
    equals = sign. of course, this destroys the html. (actually, i
    haven't tried sending any plain text versions that include =. maybe
    it messes up those too??) any ideas?

    i did see one post about it here:
    Find answers to missing two characters after equals from the expert community at Experts Exchange

    but these people want money to show you the answer. if anyone here
    knows what's going on (or if anyone has a subscription to that site!),
    please help!

    thanks,
    -karen
  • Data Goob

    #2
    Re: mail sent by php to outlook missing two characters after everyequals sign

    karen wrote:[color=blue]
    > hi, not sure if this is a php issue or an outlook issue or what.
    >
    > trying to send an html message via php, and it looks fine in hotmail,
    > yahoo, and earthlink webmail, but when i receive the same message (via
    > earthlinkg) into outlook, there are two characters missing after every
    > equals = sign. of course, this destroys the html. (actually, i
    > haven't tried sending any plain text versions that include =. maybe
    > it messes up those too??) any ideas?
    >
    > i did see one post about it here:
    > http://www.experts-exchange.com/Web/..._20981077.html
    > but these people want money to show you the answer. if anyone here
    > knows what's going on (or if anyone has a subscription to that site!),
    > please help!
    >
    > thanks,
    > -karen[/color]
    actually since you're using HTML ( and not XML ) you don't really need to
    quote anything but the $diatery2 variable. Take the quotes off of everything
    else:

    input type=text/html size=30 value=none name=\"$diatery 2\"

    See what happens. You may also have a loose quote somewhere else in your $html
    that you should try to find.

    -DG-

    Comment

    • ziggy stardust

      #3
      Re: mail sent by php to outlook missing two characters after every equals sign

      the code listed here
      http://www.experts-exchange.com/Web/..._20981077.html is not
      mine; i did not post that message. i just found it while looking for the
      answer to my question.

      and quotes aren't really the problem. that problem is that the next two
      characters after every = are missing, so

      href=http://blah.com becomes href=tp://blah.com. not good! has anyone
      encountered this problem before??

      thanks,

      -k



      "Data Goob" <datagoob@hotma il.com> wrote in message
      news:<JGD0d.158 00$x05.11343@fe 38.usenetserver .com>...
      [color=blue]
      > actually since you're using HTML ( and not XML ) you don't really need to[/color]
      [color=blue]
      > quote anything but the $diatery2 variable. Take the quotes off of[/color]
      everything
      [color=blue]
      > else:[/color]
      [color=blue]
      >[/color]
      [color=blue]
      > input type=text/html size=30 value=none name=\"$diatery 2\"[/color]
      [color=blue]
      >[/color]
      [color=blue]
      > See what happens. You may also have a loose quote somewhere else in your[/color]
      $html
      [color=blue]
      > that you should try to find.[/color]
      [color=blue]
      >[/color]
      [color=blue]
      > -DG-[/color]
      [color=blue]
      >[/color]




      Comment

      • John Dunlop

        #4
        Re: mail sent by php to outlook missing two characters after every equals sign

        karen wrote:
        [color=blue]
        > hi, not sure if this is a php issue or an outlook issue or what.[/color]

        Maybe both. ;o)
        [color=blue]
        > trying to send an html message via php, and it looks fine in hotmail,
        > yahoo, and earthlink webmail, but when i receive the same message (via
        > earthlinkg) into outlook, there are two characters missing after every
        > equals = sign.[/color]

        Sounds like the mail headers say it's encoded, with quoted-
        printable encoding (RFC2045 sec. 6.7) for example, but it
        isn't. What headers are you sending?

        [ ... ]

        HAGW!

        --
        Jock

        Comment

        • Manuel Lemos

          #5
          Re: mail sent by php to outlook missing two characters after everyequals sign

          Hello,

          On 09/11/2004 10:46 AM, karen wrote:[color=blue]
          > hi, not sure if this is a php issue or an outlook issue or what.
          >
          > trying to send an html message via php, and it looks fine in hotmail,
          > yahoo, and earthlink webmail, but when i receive the same message (via
          > earthlinkg) into outlook, there are two characters missing after every
          > equals = sign. of course, this destroys the html. (actually, i
          > haven't tried sending any plain text versions that include =. maybe
          > it messes up those too??) any ideas?
          >
          > i did see one post about it here:
          > http://www.experts-exchange.com/Web/..._20981077.html
          > but these people want money to show you the answer. if anyone here
          > knows what's going on (or if anyone has a subscription to that site!),
          > please help![/color]

          It seems that you have specified in the Content-Type header that the
          message uses quoted-printable but it is not being properly encoded.

          You may want to try this class that is capable of encoding any kind of
          message parts as quoted printable:

          http://www.phpclasses.org/mimemessage


          --

          Regards,
          Manuel Lemos

          PHP Classes - Free ready to use OOP components written in PHP
          http://www.phpclasses.org/

          PHP Reviews - Reviews of PHP books and other products
          http://www.phpclasses.org/reviews/

          Metastorage - Data object relational mapping layer generator

          Comment

          • Anthony Ogden

            #6
            Re: mail sent by php to outlook missing two characters after every equals sign

            On Sat, 11 Sep 2004 06:46:15 -0700, karen wrote:[color=blue]
            > i did see one post about it here:
            > http://www.experts-exchange.com/Web/..._20981077.html
            > but these people want money to show you the answer. if anyone here
            > knows what's going on (or if anyone has a subscription to that site!),
            > please help!
            >
            > thanks,
            > -karen[/color]

            Check out the mail page on the php site...


            There is a qp_printable function submitted by a user there which will
            encode your mail as quoted printable which is what Outlook seems to be
            expecting.

            In quoted printable the = signs signifies that the next two chars specify
            the character code eg. '=34' would a quote.

            I haven't tested this myself but I know a little about the quoted
            printable problems as I once had to write a mailbox program for a
            support team and process quoted printable emails.

            ----------------------------------------------------
            .~.
            ( V ) Anthony Ogden
            // \\ Visually Vibrant Manager
            // \\ www.visuallyvibrant.com
            /( )\
            /_\^/_\ SMART COMPUTING...
            www.slackware.com


            Comment

            Working...