Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Bad mail content when Create New Topic

Help
Grant Zhou
2006-06-15
2013-06-03
  • Grant Zhou
    Grant Zhou
    2006-06-15

    Version: 1.9.2 alpha 7/8
    Problem: The URL in the notice mail when create new topic is not accessible.

    ==========================MAIL CONTENT=========
    Content-Type: text/plain;
        charset="utf-8"
    Content-Transfer-Encoding: quoted-printable
    Return-Path: <dabao@lucent.com>
    X-OriginalArrivalTime: 15 Jun 2006 01:49:18.0622 (UTC) FILETIME=[EA504BE0:01C6901D]

    Topic "test"
    Author: dabao@lucent.com
    Reviewers: grantz@qd.lucent.com
    URL: http://135.252.130.201/codestriker/codestriker.pl?topic=3D1022878&amp;=
    action=3Dview

    ---------------------
    Description:=20
    test

    ------------------------------------------

    The topic was created with the following files:
    ...
    ...
    ================================================
    1. For the URL:(http://135.252.130.201/codestriker/codestriker.pl?topic=3D1022878&amp;=
    action=3Dview)
    why the 3D exist in the URL?
    Why the line is breaked into two lines after ";="

    2. I don't think the mail header should be appeared.

    Anybody know whay happen?

    Regards,
    Grant

     
    • David Sitsky
      David Sitsky
      2006-06-15

      Because Codestriker now supports unicode text, it is possible that the mail body mail now contain non-ASCII characters.

      For this reason, the mail body is now encoded using quoted-printable, which is what the Content-Transfer-Encoding: quoted-printable line is there for.

      What mail client are you using to read this?  A decent mail client should decode this without any problems.

       
      • Grant Zhou
        Grant Zhou
        2006-06-15

        In fact, if I change the mail server to another.
        The mail notice will fail with error:
        Couldn't send email to "dabao@lucent.com" , 5.7.1 Unable to relay for dabao@lucent.com

         
      • Grant Zhou
        Grant Zhou
        2006-06-15

        I am sure I have no non-asc in the mail.

         
      • Grant Zhou
        Grant Zhou
        2006-06-15

        Here is the add comment mail content which is perfect!
        ==================MAIL CONTENT===========
        dabao@lucent.com added a comment to Topic "TL1/LM/DB CI for KPN V2/NL2 Korean ITU1992 Variants".

        URL: http://135.252.130.201/codestriker/codestriker.pl?fn=0&amp;line=-1&amp;new=1&amp;topic=3554145&amp;action=edit

        File: TelicaRoot/components/services/times10/include/IsupDBApi.h

        dabao@lucent.com Thursday June 15, 2006 09:52:58

        What's the difference

         
        • David Sitsky
          David Sitsky
          2006-06-15

          Ok - can you forward me one of the topic create emails to me (sits AT users DOT sourceforge DOT net).

          Make sure you forward the message as an attachment, so that all the headers will be preserved.  Thanks.

          Cheers,
          David

           
    • Grant Zhou
      Grant Zhou
      2006-06-15

      I am using MS outlook.
      All of us can't read this mail correctly.

       
    • Grant Zhou
      Grant Zhou
      2006-06-15

      Is it possible has some relationship with Mail server?
      In addtion, add comments mail notice don't have such problem.

       
    • Grant Zhou
      Grant Zhou
      2006-06-15

      Problem fixed with David's help

       
      • David Sitsky
        David Sitsky
        2006-06-15

        That was an interesting bug - will be fixed in the 1.9.2-alpha-9 release which I'll post up soon.  The topic creation email was slightly incorrect, and your Exchange mailserver interpreted it differently to sendmail.

        Thanks for the report.

        FWIW - this doesn't affect the 1.9.1 release, such the 1.9.2 alpha releases.