You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ponymail.apache.org by sebbASF <gi...@git.apache.org> on 2016/09/25 20:13:11 UTC

[GitHub] incubator-ponymail issue #149: Bug: code assumes that subject is always pres...

GitHub user sebbASF opened an issue:

    https://github.com/apache/incubator-ponymail/issues/149

    Bug: code assumes that subject is always present in an e-mail

    The code assumes that a subject is always present in an e-mail; however that may not be the case.
    
    According to RFC822, the only required fields are:
    
    ```
    fields      =    dates                      ; Creation time,
                     source                     ;  author id & one
                   1*destination                ;  address required
                    *optional-field             ;  others optional
    ```
    
    i.e. the Subject may be omitted entirely

----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-ponymail issue #149: Bug: code assumes that subject is always pres...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the issue at:

    https://github.com/apache/incubator-ponymail/issues/149


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-ponymail issue #149: Bug: code assumes that subject is always pres...

Posted by sebbASF <gi...@git.apache.org>.
Github user sebbASF commented on the issue:

    https://github.com/apache/incubator-ponymail/issues/149
  
    This may affect the following code:
    
    https://github.com/apache/incubator-ponymail/blob/master/site/api/email.lua#L48
    https://github.com/apache/incubator-ponymail/blob/master/site/api/source.lua#L32
    https://github.com/apache/incubator-ponymail/blob/master/site/api/thread.lua#L124


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-ponymail issue #149: Bug: code assumes that subject is always pres...

Posted by sebbASF <gi...@git.apache.org>.
Github user sebbASF commented on the issue:

    https://github.com/apache/incubator-ponymail/issues/149
  
    The message noted above is HTML-only which is why it does not appear.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-ponymail issue #149: Bug: code assumes that subject is always pres...

Posted by sebbASF <gi...@git.apache.org>.
Github user sebbASF commented on the issue:

    https://github.com/apache/incubator-ponymail/issues/149
  
    An example message with no subject is:
    
    http://mail-archives.apache.org/mod_mbox/aries-user/201602.mbox/%3Ctrinity-826ab43b-725d-4ea1-8b46-3355c1f4c6b7-1456058174634%403capp-gmx-bs33%3E
    
    This has the From line:
    user-return-1748-apmail-aries-user-archive=aries.apache.org@aries.apache.org  Sun Feb 21 12:36:23 2016
    which does not appear in the following archive:
    
    http://my.ponymail/api/mbox.lua?list=user@aries.apache.org&date=2016-2
    
    Messages 1747 and 1749 are present; 1748 is not.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---