Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-5981

Wrong email construction for voicemail to email option in userportal

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Later
    • Affects Version/s: 2.10
    • Fix Version/s: None
    • Component/s: ARI User Portal
    • Labels:
      None
    • ToDo:

      Description

      Howdy,

      Email construction is wrong and leads to email clients to now read it OK.
      Other problem I've found is, the "Date:" field if also wrong constructed, it should be full date specified with timezone.

      Here's a full source of an email sent by the userportal option.

      {noformat}
      Received: from smtp.domain.pt (localhost.localdomain [127.0.0.1])
      by smtp.domain.pt (Postfix) with ESMTP id BDBA41A38BD
      for <dns@domain.pt>; Sun, 16 Sep 2012 17:17:17 +0100 (WEST)
      Received: by smtp.domain.pt (Postfix, from userid 1001) id 9FCA81A39EE;
      Sun, 16 Sep 2012 17:17:17 +0100 (WEST)
      X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lira
      X-Spam-Level:
      X-Spam-Status: No, score=0.1 required=5.0 tests=ALL_TRUSTED,BAYES_20,
      INVALID_DATE autolearn=no version=3.3.2
      Received: from asterisk223.domain.pt (unknown [192.168.1.223])
      by smtp.domainl.pt (Postfix) with ESMTP id 078E01A38BD
      for <dns@domain.pt>; Sun, 16 Sep 2012 17:17:15 +0100 (WEST)
      Received: by asterisk223.domain.pt (Postfix, from userid 106)
      id AC6C1BFBC5; Sun, 16 Sep 2012 17:17:19 +0100 (WEST)
      To: dns@domain.pt
      Subject: Voicemail forwarded from mailbox 69
      Date: 2012-09-16
      MIME-Version: 1.0
      Message-Id: <20120916161719.AC6C1BFBC5@asterisk223.domain.pt>
      From: Asterisk PBX daemon <asterisk@asterisk223.domain.pt>
      X-Virus-Scanned: ClamAV using ClamSMTP
      Return-Path: asterisk@asterisk223.domain.pt
      Content-Type: multipart/mixed;
      boundary*0="==VMAIL_MSG_Multipart_Boundary_x89547acd4f128739704802d122e22f";
      boundary*1="d3x"

      This is a MIME message. Please use a MIME-capable email client.
      --==VMAIL_MSG_Multipart_Boundary_x89547acd4f128739704802d122e22fd3x
      Content-Type: text/plain; charset="iso-8859-1"

      You have been forwarded a voicemail message from mailbox 69.
      Please listen to the attached recording. Thank you.

      --==VMAIL_MSG_Multipart_Boundary_x89547acd4f128739704802d122e22fd3x
      Content-Type: audio/x-wav
      Content-Disposition: attachment; filename="msg0000.wav"
      Content-Transfer-Encoding: base64

      UklGRqRnBABXQVZFZm10IBAAAAABAAEAQB8AAIA+AAACABAAZGF0YYBnBACcAwwDbALsAQQB5ACM
      ARgAWACsAaD/BAHsAtwDHAWcBAwDzAFEAfQAZAEsAgwD3ARcBVwEjAIkAXAAPP8s/8z+NP5U/rj/

      ------base 64 of file ommited by me----------

      AQQBzAHsASwCrAEQAOwBzAKMApwDHAQMA1wEbANkAYQAIADQ/6z+jP7c/uz+LP9IAGz/UAAMAmgA
      LP98/9QAoP90/tz+VP4c/+QAzAFMAkQB4P9oAIQA1ACUACAA


      -==VMAIL_MSG_Multipart_Boundary_x89547acd4f128739704802d122e22fd3x-{noformat}

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tm1000 Andrew Nagy
                  Reporter:
                  jasb jasb
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    NextupJiraPlusStatus

                    Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.