[jira] [Created] (OFBIZ-10706) EmailServices.sendMail causes a NPE, when sendFrom is missing

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-10706) EmailServices.sendMail causes a NPE, when sendFrom is missing

Nicolas Malin (Jira)
Benjamin Jugl created OFBIZ-10706:
-------------------------------------

             Summary: EmailServices.sendMail causes a NPE, when sendFrom is missing
                 Key: OFBIZ-10706
                 URL: https://issues.apache.org/jira/browse/OFBIZ-10706
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: Trunk
            Reporter: Benjamin Jugl
            Assignee: Benjamin Jugl
             Fix For: Trunk


Because the Error occurs further down in Java, there are two options
 # Either catch the NPE in sendMail and try to send a mail without a sendFrom field (I doubt that this will work)
 # Or expand the sendMailOnePartInterface to have sendFrom mandatory just like sendTo

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)