UnknowHostException
Closed this issue · 1 comments
kitofr commented
Hey!
I end up having a really odd problem here when I try to send mail.
This "used" to work, but since I reinstalled my computer it stopped... any help would be very appreciated.
user=> gmail
{:ssl true, :host "smtp.gmail.com", :user "kitofr@gmail.com", :pass "my_password"}
user=> (send-message gmail { :from "kitofr@gmail.com" :to "kitofr@gmail.com" :subject "FOO" :body "bar"} )
UnknownHostException marvin: nodename nor servname provided, or not known java.net.Inet6AddressImpl.lookupAllHostAddr (Inet6AddressImpl.java:-2)
I did some research and found a couple of places in the code base where Inet6Addresses are being used, but can't really understand why my hostname should be affecting mail sending :/
kitofr commented
Ok, so I upgraded from java 1.7 to 1.8 and this issue just went away. (This is on Mac and Yosemite)