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

Error: mail session is already initialized #2

Open
apjanke opened this issue Jan 19, 2021 · 0 comments
Open

Error: mail session is already initialized #2

apjanke opened this issue Jan 19, 2021 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@apjanke
Copy link
Member

apjanke commented Jan 19, 2021

>> surf(peaks); mailspoon.sendhtmlmail('[email protected]', 'Hello world!', {'<h1>Hello, world!</h1>', gcf, "<p>That's all!</p>"}, [], '[email protected]')
Error using mailspoon.SmtpHost/send (line 84)
Java exception occurred:
java.lang.IllegalStateException: The mail session is already initialized
	at org.apache.commons.mail.Email.checkSessionAlreadyInitialized(Email.java:1994)
	at org.apache.commons.mail.Email.setHostName(Email.java:475)
Error in mailspoon.Email/send (line 191)
      out = mailspoon.globals.smtpHost.send(this);
Error in mailspoon.sendhtmlmail (line 23)
out = email.send; 
84          jmail.setHostName(server);
K>> 
@apjanke apjanke self-assigned this Jan 19, 2021
@apjanke apjanke added the bug Something isn't working label Jan 19, 2021
@apjanke apjanke added this to the 0.1.0 milestone Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant