Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible bug in SendMail code #260

Closed
matseku opened this issue Jun 29, 2017 · 3 comments
Closed

Possible bug in SendMail code #260

matseku opened this issue Jun 29, 2017 · 3 comments

Comments

@matseku
Copy link

matseku commented Jun 29, 2017

Hi,

I am using cx:send-mail, and it keeps throwing a null pointer exception.

Reviewing the code in SendMail.java, it looks like the following line:

msg.setContent(mp); (line 235)

needs to be wrapped in an if statement, not to execute when mp is null (which it will always be if the message contains a single body part).

Bests,
Mats

@matseku
Copy link
Author

matseku commented Jun 29, 2017

By the way, would be nice if SendMail could be extended to also support secure transport.

@ndw
Copy link
Owner

ndw commented Aug 12, 2017

I've fixed the NPE, but I can't seem to figure out how to republish the Maven artifacts.

I'm not likely to try to work on the secure transport stuff, but a pull request is always welcome.

@ndw
Copy link
Owner

ndw commented Mar 4, 2018

I must have figured out how to publish it, as it appears to have been published!

@ndw ndw closed this as completed Mar 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants