Menu

E-Mail Encrypted

Help
2005-08-10
2013-04-16
  • Nobody/Anonymous

    Just installed phpBugTracker and any email sent through the
    system appear to be base64 encoded (see below).  Is there a PHP setting or some other setting to control this behaviour.

    TIA

    Sample e-mail:

    PTNEPTNEPTNEPTNEPTNEPTNEPTNEPTNEPTNEPTNEPTNEPTNEPTNEPTNEPTNEPTNEPTNEPTNEPTNE
    PTNEPTNEPTNEPTNEPTNEPTNEPQo9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9
    M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9Cj0zRD0zRD0zRD0zRD0zRD0z
    RD0zRD0zRD0zRD0zRD0zRD0zRD0zRD0zRD0zRD0zRD0zRD0zRD0zRD0zRD0zRD0zRD0zRD0zRD0z
    RD0KPTNEClRISVMgTUVTU0FHRSBXQVMgR0VORVJBVEVEIEJZIFRIRSBCVUdUUkFDS0VSIFNPRlRX
    QVJFIFBMRUFTRSBETyBOT1QgUkVQTFkKCklOU1RFQUQgRk9MTE9XIEJVRydTIFVSTCBCRUxPVyBJ
    TiBPUkRFUiBUTyBERVRBSUwgQlVHOgo9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9
    M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9M0Q9Cj0zRD0zRD0zRD0zRD0z

     
    • Benjamin Curtis

      Benjamin Curtis - 2005-08-11

      You should be able to turn off the SEND_MIME_EMAIL configuration option to stop the quoting.

       
      • Nobody/Anonymous

        Benjamin,

        Are not both Content-Type and Content-Transfer-Encoding MIME headers? What encoding you use should not matter. A none mime mail (without any of those headers) can probably only be plain text with 7bit us-ascii characters. Use MIME whenever something else is needed. Whether to use quoted-printable, base64 or 8bit could be made configurable in that case.

        I fail to understand the OP's problem though.. Are the mails encoded or encrypted? Can they be decoded? Did you compare the injected message with the received message? Are you sure the problem is with phpBT and not your MTA (or your mail client if you fail to read correctly encoded messages)?

        /Ulf

         
    • Nobody/Anonymous

      I updated SEND_MIME_EMAIL to "No" and then updated a
      ticket so it would send an e-mail.  I still recevied what appears
      to be a base64 encoded message (snippet below).

      TIA

      PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
      PT09PT09PT09PT09PT09PT09PQpUSElTIE1FU1NBR0UgV0FTIEdFTkVSQVRFRCBCWSBUSEUgQlVH
      VFJBQ0tFUiBTT0ZUV0FSRSBQTEVBU0UgRE8gTk9UIFJFUExZCgpJTlNURUFEIEZPTExPVyBCVUcn
      UyBVUkwgQkVMT1cgSU4gT1JERVIgVE8gREVUQUlMIEJVRzoKPT09PT09PT09PT09PT09PT09PT09

       
    • Nobody/Anonymous

      I should mention my config in case it helps.

      Fedora Core 1
      PHP      4.3.8-1.1
      MySQL 3.23.58-4
      Apache 2.0.50-1.0

      Thanks again for your help.

       
    • Nobody/Anonymous

      I found this section of code and commented out the
      SEND_MIME_EMAIL section just to test and I still
      received the encoded message.    Any thoughts...

      // If configured to send MIME encoded emails
          //if (SEND_MIME_EMAIL) {
      //      $retval = mail ($to, $subject, qp_enc($body), $headers.
      //          "quoted-printable\nMIME-Version: 1.0");
      //   } else {
              $retval = mail ($to, $subject, $body, $headers.
                  "8bit");
        //  }

      TIA

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.