Steven Jardine - 2012-11-13

documents.add("c:\\neu\\test.jpg"); assums the test.jpg is on the server with a path relative to the hylafax installation directory. You need to call String documentPath = client.putTemporary(documentInputStream); then documents.add(documentPath);

Also be aware that hylafax won't send jpgs directly. You will need to convert it to a pdf or tiff prior to sending.