Re: [email]Email.setfrom differs in 1.1

2007-12-04 Thread Siegfried Goeschl
Hi Betrand, are you absolutely sure that no email server and email processing application will ever drop/reject an email if contains an invalid address? Cheers, Siegfried Goeschl MERLIN Bertrand wrote: hello, i'm actually using javamail 1.2 + commons email 1.0 in an bus

Re: Commons e-mail attachments

2008-03-18 Thread Siegfried Goeschl
Hi Charl, have you checked MultiPartEmail.attach(javax.activation.DataSource ds, java.lang.String name, java.lang.String description, java.lang.String disposition) this is what I'm using to attach a PDF document Cheers, Siegfried Goeschl Charl Gerber wrote: Hi, I create pdf docu

Re: Email

2008-03-21 Thread Siegfried Goeschl
started to refactor the code to donate it to commons-email but not sure if this is the right project - would this be in general a good donation for commons-email Cheers, Siegfried Goeschl McLean, Conrad wrote: Is it possible to retieved pop3 email with attachments and decode & save

Re: [EXEC] Release?

2008-04-09 Thread Siegfried Goeschl
, Siegfried Goeschl Tino Schöllhorn wrote: Hi, I'm wondering if/when there is a release of EXEC coming. Also I am wondering if there are known bugs which prevent the usage from a production system? cheers Tino - To unsubscri

[EXEC] Help needed for regression testing ...

2008-04-09 Thread Siegfried Goeschl
JAVA_HOME defined as environment variable to pick up your Java installation to be used +) It runs all regression tests without requiring to have ANT or Maven installed +) Send a quick feedback about the test result and the OS/JVM being used so I can update the website Thanks in advance Siegfried

Re: [commons-exec] Watchdog

2008-04-23 Thread Siegfried Goeschl
Hi Tino, +) I have a look at it tonight +) in general you won't be able to kill the 'ping' process anyway under Windows - see http://bugs.sun.com/bugdatabase/view_bug.do;:YfiG?bug_id=4770092 Cheers, Siegfried Goeschl Tino Schöllhorn wrote: Hi, I have a problem con

Re: [commons-exec] Watchdog

2008-04-23 Thread Siegfried Goeschl
Hi Tino, the one thing I do know that your ExecUtils does not compile with the recent version of commons-exec so you might be chasing an already fixed bug ... :-( Cheers, Siegfried Goeschl Tino Schöllhorn wrote: Hi Siegfried, I found that bug to and I think it is here the case as I am

[Fwd: Re: [EXEC] Quoting of arguments]

2008-04-24 Thread Siegfried Goeschl
Once again ... Original Message Subject:Re: [EXEC] Quoting of arguments Date: Thu, 24 Apr 2008 14:11:07 +0200 From: Siegfried Goeschl <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Commons Users List References: <[EMAIL PROTECTED]>

Re: [EXEC] Quoting of arguments

2008-04-25 Thread Siegfried Goeschl
t;500x> " target.jpg So to make that work I need "'500x> '" - please note that extra space!!! - if I leave out the extra space your extra quotes are dropped. I added a test to pinpoint the problem Cheers, Siegfried Goeschl public void _testParseComplexCommand

Re: [Email] Problem send Html Email

2008-05-16 Thread Siegfried Goeschl
Hi Ema, on Apache Turbine we had recently problems with commons-email-1.1 and reverted back to 1.0 - maybe this is related to your problem https://issues.apache.org/jira/browse/EMAIL-77 Cheers, Siegfried Goeschl [EMAIL PROTECTED] wrote: Hi folks, I just started using commons-email 1.1

Re: org/apache/commons/codec/DecoderException java.lang.NoClassDefFoundError

2008-05-16 Thread Siegfried Goeschl
Mhmm, have you checked that +) commons-codec-1.3 does not contain the DecoderException +) if it is not found you may have a look at earlier releases to fix the problem Cheers, Siegfried Goeschl Rahumeel, Janar wrote: I have the following problem: MESSAGE: org/apache/commons/codec

Re: recreation of connections in the dbcp

2008-05-22 Thread Siegfried Goeschl
And this also works for mySQL Siegfried Goeschl Mark Shifman wrote: for Oracle use validationQuery="SELECT 1 from dual" James Carman wrote: I'd use a validation query. I believe that will solve your problem. That way, the pool implementation can check to see that th

Re: To and Subject headers disappearing

2008-10-07 Thread Siegfried Goeschl
it's good to know that this can break your application. Siegfried Goeschl sebb wrote: > On 06/10/2008, Jaran Nilsen <[EMAIL PROTECTED]> wrote: > >> For anyone experiencing similar issues I thought I would post a reply >> to myself and explain how I solved this. >

Resurrecting commons-email - Was:MultiPartMail order of parts

2008-11-09 Thread Siegfried Goeschl
original developers are around and/or actively working on commons ... :-( +) as part of Apache Turbine folks I'm attached to this project since it originated from there ... :-) Cheers, Siegfried Goeschl PS: a bit off-topic, does anyone know what Eric Pugh is currently doing?! Markus Meh

Re: Downloading binaries for commons exec

2008-12-27 Thread Siegfried Goeschl
- http://people.apache.org/builds/commons/exec/1.0.0/RC2/staged/commons-exec/commons-exec/1.0.0/ Cheers, Siegfried Goeschl Derek Palma wrote: > Hello, > > > > I feel odd asking such as basic question but I have been unsuccessful in > finding a download page for the commons

Re: Commons Exec examples with input/output stream processing

2008-12-28 Thread Siegfried Goeschl
Hi Derek, no ready-to-use example for input stream - an example for output stream handling you find in DefaultExecutorTest.java Cheers, Siegfried Goeschl Derek Palma wrote: > Hi, > > > > Are there any examples where stdin is passed to the sub-process and its > output is re

[email] Some hands are needed for field testing commons-email ...

2009-01-10 Thread Siegfried Goeschl
s, Pegasus, Entourage, OWA, ...?!" If you are happy lending a hand, please respond with the following information +) your name (so I can mention your help on the project website) +) your mail client of choice +) you OS and OS version if you are not using a webmail client Thanks in advance, Si

Re: [commons-email]: Some headers not added by 1.1

2009-01-18 Thread Siegfried Goeschl
Hi Uma, is this the cause of your problem? If yes, than it is worth noting that problem on the webpage Cheers and thanks to Jaran Siegfried Goeschl jaran.nil...@gmail.com wrote: > I believe your problem is the same as I encountered a few months back. > The thread is availabl

Re: Mails doesn't send with commons-email1.1

2009-01-30 Thread Siegfried Goeschl
needs to accept the server certificate - I think you need to import the cert into your Java keystore or define your own trust store. When tinkering with keystores I recommend using Portecle (http://portecle.sourceforge.net/) Cheers, Siegfried Goeschl Laxmilal Menaria wrote: > Hello every on

Re: Problems with HTML e-mail

2009-02-18 Thread Siegfried Goeschl
Hi Charl, commons-email-1.1 has some major problems regarding HTML email layout but those problems were recently fixed (SVN trunk). Can you build the stuff from SVN using M2? Cheers, Siegfried Goeschl Charl Gerber wrote: > Hi, I'm using Commons E-Mail 1.1. > > I am sending an

Re: Problems with HTML e-mail

2009-02-18 Thread Siegfried Goeschl
t the RC in the middle of March and do the final release at the end of March (at ApacheCon 2009) Cheers, Siegfried Goeschl Charl Gerber wrote: > will try... > > otherwise, when is the next version available? > > What other problems ar ethere? > > > > --- On Wed, 18/2/09

Re: Problems with HTML e-mail

2009-02-18 Thread Siegfried Goeschl
Hi Charl, on my box it is around 31KB so I'm a bit puzzled how you get a smaller jar ... Cheers, Siegfried Goeschl Charl Gerber wrote: > Thanks Siegfried, > > I made a build of the latest SVN repository and the e-mail is now correctly > displayed as HTML in thunderbird, ev

Re: Problems with HTML e-mail

2009-02-18 Thread Siegfried Goeschl
Well, on Mac OS 10.4 the choice is a bit more limited JDK 1.5 Cheers, Siegfried Goeschl Charl Gerber wrote: > I'm building with Java 1.6. > > > > --- On Wed, 18/2/09, Siegfried Goeschl wrote: > > >> From: Siegfried Goeschl >> Subject: Re: Pro

[email] Created commons-email-1.2-SNAPSHOT ....

2009-02-19 Thread Siegfried Goeschl
Email layout issues. Also thanks to Martin Lau and Morten Hattesen for providing in-depth analysis of the problem Issue: EMAIL-65. Thanks to Kenneth Gendron. o During regression tests write out the generated MimeMessage instead of WiserEmail.toString(). Cheers, Siegfried Go

Re: [cli] Downloading snapshots

2009-03-20 Thread Siegfried Goeschl
Hi Roland, deployed the current snapshot to http://people.apache.org/repo/m2-snapshot-repository/org/apache/commons/commons-cli/2.0-SNAPSHOT/ Cheers, Siegfried Goeschl Roland Roberts wrote: > Gary Gregory wrote: >> You can try the current RC: >> >> http://people.apache.o

[ANN] commons-exec 1.0 released

2009-03-26 Thread Siegfried Goeschl
The commons-exec-team is pleased to announce the commons-exec-1.0 release! A library to reliably execute external processes from within the JVM Changes in this version include: New features: - o Added one additional tes

Re: [ANN] commons-exec 1.0 released - Part 2

2009-03-26 Thread Siegfried Goeschl
Hi Gary, Source and binary distributions can be downloaded from the corresponding directories in an Apache Software Foundation mirror at: http://www.apache.org/dyn/closer.cgi/commons/exec See also the download page at: http://commons.apache.org/exec Cheers, Siegfried Goeschl Gary Gregory

Re: [commons-exec] How to exec scp from cygwin?

2009-04-03 Thread Siegfried Goeschl
Hi Michael, no idea since I never used cygwin but it would be highly appreciated if you share your insights Thanks in advance Siegfried Goeschl Michael K. Craghead wrote: > Looking at the tutorial for exec it doesn't look to difficult to use, but I'm > not sure how to go

[email] Re: Is the timeout feature in the org.apache.commons.mail.Email class already operative?

2009-04-21 Thread Siegfried Goeschl
not tested it yet - so I uploaded the latest snapshot to http://people.apache.org/repo/m2-snapshot-repository/commons-email/commons-email/1.2-SNAPSHOT/ Feedback would be highly appreciated, Siegfried Goeschl BB wrote: > > Hi Siegfried, > > > > I’m a user of the Apache Com

Re: ExecuteWatchdog does not really terminate the "hung" process?

2009-06-22 Thread Siegfried Goeschl
carefully avoided to create s subprocess here since we rely on built-in shell commands - we always try to prove that our code works ... :-) +) which leaves the question why your thread waits for the whole 10 seconds - need to investigate that Cheers, Siegfried Goeschl Mishkin, Ernest wrote: &

Re: ExecuteWatchdog does not really terminate the "hung" process?

2009-06-22 Thread Siegfried Goeschl
Hi Ernest, +) could you please open a JIRA and attach the patch (see https://issues.apache.org/jira/browse/EXEC) +) I will have a look at winp Thanks in advance Siegfried Goeschl Mishkin, Ernest wrote: > Siegfried, > > Thanks for looking into this. > > I found that my "ma

Re: ExecuteWatchdog does not really terminate the "hung" process?

2009-06-27 Thread Siegfried Goeschl
Hi Ernest, I'm very interested in the patch but you still have to provide it ... :-) Thanks in advance Siegfried Goeschl Mishkin, Ernest wrote: > Siegfried, > > Thanks for looking into this. > > I found that my "main" thread was stuck trying to join with stream &g

Re: [exec] ExecuteWatchdog does not really terminate the "hung" process?

2009-06-29 Thread Siegfried Goeschl
Hi Ernest, latest source would be nice ... :-) Cheers, Siegfried Goeschl Mishkin, Ernest wrote: > Siegfried, > > Should I generate the patches against latest sources or 1.0 - release > sources? > > --Ernest > > -Original Message- > From: Mishkin, Ernest &g

Re: UTF-8 in mail for mac os x

2009-06-29 Thread Siegfried Goeschl
Hi Mathias, I would recommend using the current release candidate found under http://people.apache.org/builds/commons/email/1.2/RC2/staged/commons-email/commons-email/1.2/ Please give some feedback if the current implementation solves your problem (or not) ;-) Cheers, Siegfried Goeschl

Re: org.apache.commons.mail.HtmlEmail setText problem

2009-06-30 Thread Siegfried Goeschl
implementation solves your problem (or not) ;-) Cheers, Siegfried Goeschl itay sahar wrote: > Hello all, > I've recently added commons-email-1.1 to tomcat lib dir. > I've succeed sending Html message by using setHtmlMsg(...) method to a Gmail > email address. > please note t

Re: Problem while sending mail using commons email

2009-07-01 Thread Siegfried Goeschl
is old Cheers, Siegfried Goeschl Madhavi Kumar wrote: > kinda tent vesi , > suzana aunty& whole family > vissu,shashi > radhivallu,manju > mahesh,purustam > pakanti vallu,2 familes > On Wed, May 6, 2009 at 2:09 PM, Pavan Kumar wrote: > > >> Hi, &g

[Fwd: Re: org.apache.commons.mail.HtmlEmail setText problem]

2009-07-03 Thread Siegfried Goeschl
:dfgawirjjs Mean the "cid" cannot be conctat with other string. Don't you think is about time for a new gmail account ? Gmail today have features that not fell from outlook :-) (You may send me an email to look no problem) On Thu, Jul 2, 2009 at 9:33 PM, Siegfried Goeschl ma

Re: Trying to send HTML email but coming through as text email (GERONIMO ISSUE)

2009-07-13 Thread Siegfried Goeschl
Hi Thomas, maybe this related to this blog entry ... can you check? http://www.jroller.com/melix/entry/apache_cxf_maven_javamail_awful Cheers, Siegfried Goeschl SHAW, Thomas wrote: > Hi, > > I am trying to send html emails from my application running on a geronimo > server on

Re: Commons Email 1.1 with Gmail and Provided Mail Session

2009-07-20 Thread Siegfried Goeschl
ation? Cheers, SIegfried Goeschl myllokunmingia wrote: > Hi we're attempting to use a mail session provided by an application server > with commons email 1.1 and the code below is the only way we could get > commons email to work with the gmail smtp server when providing a session. &g

Re: [EMAIL]-[Error In Sending Email Using Commons Email API]

2009-07-22 Thread Siegfried Goeschl
il to "jit...@it.iitb.ac.in" because no relaying is required. You can also set the debug mode using Email.setDebug(true) to see the messages being exchanged between your client and SMTP server. Cheers, Siegfried Goeschl jitesh dundas wrote: > Hi Andres, > >

Re: commons-exec and streams

2009-08-20 Thread Siegfried Goeschl
Hi Steve, as user of your dockook plugin I try to look into the issue - but I'm will be on holidays the next few days ... Cheers, Siegfried Goeschl Steve Ebersole wrote: > I am having a problem with using commons-exec and having file output > streams end up containing trunca

Re: [Email] Problem embeding Inline images

2009-09-15 Thread Siegfried Goeschl
Hi Marcio, a lot of this problems (if not all) have been fixed in the current main branch - can you have it a try? Cheers, Siegfried Goeschl Marcio Carvalho wrote: > Hi all, > > I'm experiencing some problems trying to embed images in my emails. > I use commons-email-1.1. I h

Re: [Email] Problem embeding Inline images

2009-09-15 Thread Siegfried Goeschl
Hi Marcio, please have a look at http://people.apache.org/builds/commons/email/1.2/RC2/staged/commons-email/commons-email/1.2/ It contains the latest release candidate before SVN infrastructure problems and project pressure stopped my release effort. Cheers, Siegfried Goeschl Marcio Carvalho

Re: Send multiple email

2009-09-22 Thread Siegfried Goeschl
lcrum/fulcrum-commonsemail/index.html) Cheers, Siegfried Goeschl Frans Thamura wrote: > hi there > > > > i use the email and use Common Email, and work well > > but i want to create a campaign program and one email send to 100 email user > > i love the 1st mailer concept, b

Re: Commons Exec overview

2009-10-07 Thread Siegfried Goeschl
Will apply the changes :-) Siegfried Goeschl Mark Fortner wrote: > As long as we're nitpicking, it should probably read "to handle the various > issues" (plural). > > Mark > > On Wed, Oct 7, 2009 at 8:19 AM, Toor, Andeep wrote: > > >> Th

Re: [Mail] Hangs on send()

2009-10-10 Thread Siegfried Goeschl
Hi Mike, have a look at http://java.sun.com/products/javamail/javadocs/overview-summary.html and "mail.debug" Cheers, Siegfried Goeschl Mike Baranski wrote: > My app hangs on send, but I can telnet to port 25 on the mail server I'm > using and send an email. > > Ca

[ANNOUNCEMENT] Apache Commons Exec 1.0.1 Released

2009-11-12 Thread Siegfried Goeschl
The commons-exec-team is pleased to announce the commons-exec-1.0.1.jar release! A library to reliably execute external processes from within the JVM Changes in this version include: Fixed Bugs: o On a Mac, the unit tests never finish. Culprit is InputStreamPumper which sets its stop member in t

Re: [EMAIL] Using Apache Commons Email and Google

2009-11-16 Thread Siegfried Goeschl
Hi folks, see my comments below ... Cheers, Siegfried Goeschl Stefano "Kismet" Lenzi wrote: > On Mon, Nov 16, 2009 at 16:45, Christopher Schultz > wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Stephano, >> >&

Re: commons-graph

2009-12-02 Thread Siegfried Goeschl
Hi Weijan, commons-graph is not maintained and did not make it into commons (I have seen the source code somewhere) - therefore I'm using jgrapht (http://jgrapht.sourceforge.net/) which is under LGPL Cheers, Siegfried Goeschl Weijian Fang wrote: > Hi, > > Here (https://olex

Re: Mail with attachment

2009-12-12 Thread Siegfried Goeschl
alizing is easy +) are the mail attachment resources shared across multiple emails or asking the other way around - are the attachments deleted somewhere in your busing logic Cheers, Siegfried Goeschl Markus Mehrwald wrote: > Hi, > > I have a problem with the commons mail package

Re: Mail with attachment

2009-12-18 Thread Siegfried Goeschl
Hi Markus, to recapture +) the attachment problem was caused by your own code? +) what changes did you apply to commons-email-1.1 which still does not work with the new release? Cheers, Siegfried Goeschl Markus Mehrwald wrote: > Hi Siegfried, > > I use commons-email 1.1.1 which is

Re: Html mail sent to gmail or hotmail is received as attachment file

2009-12-29 Thread Siegfried Goeschl
Hi, which version of commons-email are you currently using - commons-email-1.2 fixed this issues (hopefully) Cheers, Siegfried Goeschl maria maria wrote: > I wrote an email, which has the HTML email and its plain text email related > to it. > When I receive that mail in a webmail it

Re: npe setting exit values in EXEC-1.0

2010-01-08 Thread Siegfried Goeschl
Hi, the NPE was my overly stupid bug in commons-exec-1.0 - please try to upgrade to commmons-exec-1.0.1 (download from http://commons.apache.org/exec/download_exec.cgi or pick it up from the M2 repo) Cheers, Siegfried Goeschl Jean-François MAUREL wrote: > Hi everyone, > > I tri

Re: [Email] Mailcap changes causing a send() to hang

2010-01-12 Thread Siegfried Goeschl
Hi Mike, I have no idea what you are trying do ... :-) ... +) why do you need to tinker with mailcap configuration? +) when it hangs do you have a thread dump Cheers, Siegfried Goeschl Mike Baranski wrote: > I have the following changes to the mailcap settings so I can add > attac

Re: Php png attachement with commons.mail

2010-01-20 Thread Siegfried Goeschl
Hi Sebastian, are you using MultipartEmail or HtmlEmail? Cheers, Siegfried Goeschl Sébastien Bonaimé wrote: > Hi ! > > I would like to use commons.mail to send with java with an attached > png image from an URL. > > My problem is that the image in php generated and I

Re: Php png attachement with commons.mail

2010-01-20 Thread Siegfried Goeschl
Hi Stefano, good catch ... :-) Siegfried Goeschl Stefano Bagnara wrote: > The whitespace is not a valid character for URLs. Your browser > automatically convert the space to %20 when making the request. > Try using %20 instead of space in your code (param2 value) and I guess >

Re: Php png attachement with commons.mail

2010-01-22 Thread Siegfried Goeschl
Hi Sebastien, not sure if you got the execption due to the space issue or the ".htaccess" problem. Do you have a stack trace for the access denied? Cheers, Siegfried Goeschl Sébastien Bonaimé wrote: > Dear all, > > Thank you for you help. I realised that I had two problems.

Re: commons-exec

2010-01-31 Thread Siegfried Goeschl
Hi, correct - it wraps the existing Java API, adds some bells and whistles and makes sure that this all runs on a wide range of OS and Java versions - I assume that I need to update the documentation ... :-) Cheers, Siegfried Goeschl maven apache wrote: > Hi: > What is the reason for

Re: commons-exec

2010-01-31 Thread Siegfried Goeschl
Hi Simone, you are right - will fix that ... Cheers, Siegfried Goeschl Simone Tripodi wrote: > Hi Sigfried, > I take advance to notify you the homepage still reports "Jakarta Commons > Exec"... shouldn't be just "Commons Exec" instead? > Best regards

Re: common exec

2010-03-02 Thread Siegfried Goeschl
Hi, I think checking the FAQ might help : http://commons.apache.org/exec/faq.html#complex-quoting Cheers, Siegfried Goeschl On 02.03.10 02:59, maven apache wrote: Hi: I want to know can the common exec can handle the command with double quotation? For example ,I have a cmd as following

Re: common exec

2010-03-02 Thread Siegfried Goeschl
+) Check out http://commons.apache.org/exec/xref-test/index.html and CommandLine Test +) CommandLine.add() allows to add arguments with/without quoting magic Siegfried Goeschl On 02.03.10 12:13, maven apache wrote: 2010/3/2 Siegfried Goeschl Hi, I think checking the FAQ might help : http

Re: some basic defination in common exec

2010-03-04 Thread Siegfried Goeschl
Let me check ... Siegfried Goeschl On 04.03.10 13:38, maven apache wrote: 2010/3/4 maven apache HI: I want to use common-exec,however I am confusing with some definations - which is the arguments in a cmd to be executed: for example, the cmd I want to execute is : *gdal_tran HDF:"d:

Re: some basic defination in common exec

2010-03-04 Thread Siegfried Goeschl
I added a similar test to the code base - can you double-check the following snippet? Cheers, Siegfried Goeschl === START OF SNIPPET === CommandLine cl = new CommandLine(gdal_translate); cl.addArgument("HDF5:\"/home/kk/grass/data/4404.he5\"://HDFEOS/GRID/OMI_Column_Amount

Re: Commons Exec not producing the same result as the command line

2010-04-14 Thread Siegfried Goeschl
advance Siegfried Goeschl On 14.04.10 11:54, Daniel Wamara wrote: I did make a wrapper, that's the script I am calling from the exec and even calling the wrapper through exec, I get the same thing I get when I use no wrapper. It's very unlikely that another application is picked up as

Re: Commons Exec not producing the same result as the command line

2010-04-19 Thread Siegfried Goeschl
Hi Daniel, any progress and/or information regarding your problem? Cheers, Siegfried Goeschl On 14.04.10 11:54, Daniel Wamara wrote: I did make a wrapper, that's the script I am calling from the exec and even calling the wrapper through exec, I get the same thing I get when I use no wr

RFC: Line Ending Conversion between Unix and Windows ....

2010-04-19 Thread Siegfried Goeschl
Hi folks, I just had to type stupid code to do line ending conversion between Windows and Unix since I couldn't find existing code doing that. Would this be a useful contribution to Commons (e.g. lang, codec, io) Thanks in advance, Siegfried Go

Re: [LANG] Having problems with trunk

2010-04-19 Thread Siegfried Goeschl
Hi Adrian, are you interested in coverage or the M2 reports? If it is coverage only +) look at Emma - there is a Eclipse integration and M2 plugin +) IntelliJ has coverage measurement out-of-the box Cheers, Siegfried Goeschl On 15.04.10 20:09, Adrian Crum wrote: Thanks Gary! That solved

Re: Line Ending Conversion between Unix and Windows ....

2010-04-19 Thread Siegfried Goeschl
. Cheers, Siegfried Goeschl On 19.04.10 22:08, E. Michael Akerman wrote: Forgive me if I'm missing something obvious. Can't this be done with just String.replace() ? Michael Akerman Systems Analyst University IT Services - Original Message ----- From: "Siegfried Goeschl"

Re: Commons email

2010-06-24 Thread Siegfried Goeschl
). Cheers, Siegfried Goeschl On 24.06.10 17:35, Nation, Carey wrote: Haven't used it in a while, but I thought it was just an smtp client. procmail? -Original Message- From: David Hoffer [mailto:dhoff...@gmail.com] Sent: Thursday, June 24, 2010 11:27 AM To: user@commons.apache.org Su

Re: [email] Content type multipart issue

2010-07-13 Thread Siegfried Goeschl
Hi Tobin, can you add a JIRA issue (https://issues.apache.org/jira/). I'm currently fixing a few bugs in commons-email so I would appreciate if you lend a hand as pre-release tester ... :-) Cheers, Siegfried Goeschl On 14.07.10 02:24, Tobin Juday wrote: I’m using the Commons

Re: [exec]

2010-07-19 Thread Siegfried Goeschl
and of the windows command interpreter - check out the regression tests suite. Cheers, Siegfried Goeschl On 15.07.10 12:58, venkateswara kumar myla wrote: Hi Team, I am very excited with this project and good to have this. It made my life easy. I have some questions which are as follows: 1.

Re: [email] Exchange Server Authentication / NTLM

2010-08-01 Thread Siegfried Goeschl
connectivity on javamail API level. If that works please post your result so I can help with commons-email integration. Cheers, Siegfried Goeschl On 01.08.10 09:12, Ferindo Middleton wrote: I'm trying to send email through an MS Exchange server that I have a user account on. My servlet connec

Re: [email] Exchange Server Authentication / NTLM

2010-08-03 Thread Siegfried Goeschl
commons-email). Having said that, enabling SMTP authentication again on your Exchange server would be a good idea. Cheers, Siegfried Goeschl On 03.08.10 15:54, Ferindo Middleton wrote: Looking at the logs, it appears that I'm running Javamail 1.3.1. I don't remember installing &quo

Re: [email] Exchange Server Authentication / NTLM

2010-08-07 Thread Siegfried Goeschl
on SourceForge and update your truststore (btw the password is "changeit") Cheers, Siegfried Goeschl On 08.08.10 01:27, Ferindo Middleton wrote: Thank you for your guidance Siegfried! I upgraded to JavaMail version 1.4.3 but still getting some errors using same code as before. Log

Re: [email] embed/include parsed JSP page file in email HTML body

2010-08-08 Thread Siegfried Goeschl
Hi Ferindo, I'm not sure if I understand what you are doing ... :-) What is a "parsed JSP page"? Recently there was some work on adding HTML content and automatically adding embedding images. Cheers, Siegfried Goeschl On 08.08.10 23:28, Ferindo Middleton wrote: I'm u

Re: [email] embed/include parsed JSP page file in email HTML body

2010-08-09 Thread Siegfried Goeschl
/filesystem and added as embedded images (ImageHmtlEmail). Cheers, Siegfried Goeschl On 09.08.10 19:18, Ricardo Duval wrote: As far as I understand he wants the HTML content generated by JSP parsing. Sorry, but I don't think that'll work because you don't have a servlet engine runni

Re: [email] embed/include dynamic Java Server Pages content in email/NTLM Authentication to Exchange Server

2010-08-10 Thread Siegfried Goeschl
loop ... :-) Thanks in advance Siegfried Goeschl On 10.08.10 03:53, Ferindo Middleton wrote: Thanks for your incite with my posts regarding this Siegfried and Ricardo! I suppose that commons-email doesn't support the kind of integration I was hoping to use in my JSP pages. I was thinking that I coul

[email] Re: Template based messages.

2010-08-11 Thread Siegfried Goeschl
Hi Shammi, commons-email is about creating (and sending) various forms of MimeMessages so you need some infrastructure to create the messages dynamically. Over the years I've done that using +) embedded scripts +) XSLT +) Velocity Cheers, Siegfried Goeschl On 11.08.10 09:38

Re: [exec] interact with bat

2010-08-12 Thread Siegfried Goeschl
; >>> stdin.sh >>> mkdir target cp pom.xml target/to-be-deleted.xml ls -l target rm -i target/to-be-deleted.xml ls -l target <<< Can you check if that would also work under Windows? In general the redirection causes a lot more problems on Windows compared to Unix. Cheer

Re: [email] embed/include dynamic Java Server Pages content in email/NTLM Authentication to Exchange Server

2010-08-13 Thread Siegfried Goeschl
Sounds good to me to have the mail session as JNDI resource ... :-) Cheers, Siegfried Goeschl PS: Could you post the final configuration when you are done - just in case I have to use a NTKM secured mail server at the next custemer? Then I can also add it to the FAQ section On 13.08.10 03

Re: [exec] redirect output via command

2010-08-13 Thread Siegfried Goeschl
e comment out the line. Without a stream handler you application will block. +) Another was of getting the output is to use a StreamHandler and pass a FileOutputStream. Cheers, Siegfried Goeschl On 13.08.10 00:00, Thomas Tanneberger wrote: Hi All, while I am playing with Apache Common Exec

Re: [email] embed/include dynamic Java Server Pages content in email/NTLM Authentication to Exchange Server

2010-08-18 Thread Siegfried Goeschl
Hi Ferindo, you are not annoying anyone ... :-) ... I will add your information to the FAQ section since information regarding NTLM setup are hard to find and I'm glad you take all the time to prepare the information. Thanks, Siegfried Goeschl On 17.08.10 05:10, Ferindo Middleton wrot

Re: [Email] Email send hangs thread indefinitely on intermittent failure

2010-08-21 Thread Siegfried Goeschl
e set directly on Email - see http://java.sun.com/products/javamail/javadocs/com/sun/mail/smtp/package-summary.html Cheers, Siegfried Goeschl PS: Agreed on the fact the you should not hang indefinitely with a default configuration On 21.08.10 05:23, David Parks wrote: I set up a simple test to

Re: [exec] redirect output via command

2010-08-23 Thread Siegfried Goeschl
Hi Thomas, success stories are always welcome ... :-) Cheers, Siegfried Goeschl On 23.08.10 22:09, Thomas Tanneberger wrote: Hi Siegfried, many thx for your advise. The solution is quite simple. You can open a StreamWriter and write the output directly into. See example below

Re: [Email] How to extend Email.send()

2010-08-23 Thread Siegfried Goeschl
Hi David, depends on what you would like to do - you can also check out http://turbine.apache.org/fulcrum/fulcrum-commonsemail/ how I use commons-email in a production environment. Cheers, Siegfried Goeschl On 23.08.10 21:48, David Parks wrote: I'd like to extend the send() meth

Re: [exec] Getting Error opening terminal error while trying to execute command on linux

2010-09-05 Thread Siegfried Goeschl
Hi Mohamed, can you have a look at DefaultExecutorTest#testExecuteWithEnv() to check what's missing or wrong - http://commons.apache.org/exec/xref-test/org/apache/commons/exec/DefaultExecutorTest.html Cheers, Siegfried Goeschl On 9/5/10 10:09 PM, Mohammed Sanaulla wrote: I was ab

Re: [exec] Getting Error opening terminal error while trying to execute command on linux

2010-09-06 Thread Siegfried Goeschl
Hi Mohammed, I will have a look at it and put the stuff into a regression test Cheers, Siegfried Goeschl On 9/6/10 8:40 AM, Mohammed Sanaulla wrote: On 6 September 2010 02:02, Siegfried Goeschl wrote: Hi Mohamed, can you have a look at DefaultExecutorTest#testExecuteWithEnv() to check

Re: [exec] Getting Error opening terminal error while trying to execute command on linux

2010-09-06 Thread Siegfried Goeschl
Hi Mohammed, I will have a look at it and put the stuff into a regression test Cheers, Siegfried Goeschl On 9/6/10 8:40 AM, Mohammed Sanaulla wrote: On 6 September 2010 02:02, Siegfried Goeschl wrote: Hi Mohamed, can you have a look at DefaultExecutorTest#testExecuteWithEnv() to check

Re: [exec] Getting Error opening terminal error while trying to execute command on linux

2010-09-13 Thread Siegfried Goeschl
; assertTrue(environment.contains("NEW_VAR")); } and it works Cheers, Siegfried Goeschl On 9/6/10 8:40 AM, Mohammed Sanaulla wrote: On 6 September 2010 02:02, Siegfried Goeschl mailto:siegfried.goes...@it20one.at>> wrote: Hi Mohamed, can you have a look at Default

Re: [exec] Using Commons Exec to Input a Password to a Shell Script

2010-10-11 Thread Siegfried Goeschl
Hi Charles, how are you reading the password into the shell script? And which shell are you using? Short exampe would be welcome Siegfried Goeschl On 10/11/10 10:21 PM, Charles Wesley wrote: We are trying to use Apache commons exec to execute a shell script which takes several

[ANNOUNCEMENT] Apache Commons Exec 1.1 Released

2010-10-24 Thread Siegfried Goeschl
The commons-exec-team is pleased to announce the commons-exec-1.1.jar release! A library to reliably execute external processes from within the JVM Changes in this version include: New features: o Adding 'Argument' class and quote the arguments after expansion. o Added TutorialTest as a playg

Re: [ANNOUNCEMENT] Apache Commons Exec 1.1 Released

2010-10-24 Thread Siegfried Goeschl
Hi Martin, you can either check out the project from SVN or use the the following URL to download the stand-alone test suite http://people.apache.org/~sgoeschl/download/exec/ Thanks in advance Siegfried Goeschl On 10/24/10 3:48 PM, Martin Gainty wrote: Many Thanks to Siegfried and

Re: [exec] Re: Redirect shell output

2010-10-24 Thread Siegfried Goeschl
ew File("./target/mybackup.gz").exists()); } } <<< End <<< using cat pom.xml | gzip> ./target/mybackup.gz and it worked as expected Cheers, Siegfried Goeschl On 10/24/10 12:36 PM, Johan Hertz wrote: Hi Paul, Sorry about that. /Regards Johan On 24/10/20

Re: [exec] Re: Redirect shell output

2010-10-31 Thread Siegfried Goeschl
Hi Johan, sorry for bugging you - any progress from your side? We also appreciate success stories ... :-) Thanks in advance Siegfried Goeschl On 10/24/10 11:33 PM, Johan Hertz wrote: Hi Siegfried, It is a bit late for me to test this now, but thank you very much for pointing me in the

Fwd: Re: [exec] Re: Redirect shell output

2010-10-31 Thread Siegfried Goeschl
Hi Johan, the redirection you are using is provided be the shell and not by the executable you invoke. So you have to put the stuff into a shell script. Cheers, Siegfried Goeschl Original Message Subject: Re: [exec] Re: Redirect shell output Date: Sun, 31 Oct 2010 13:58:27

Re: [Primitives] Does anyone use this?

2010-11-02 Thread Siegfried Goeschl
And the Java primitives haven't changed lately ... :-) Siegfried Goeschl On 11/2/10 9:52 PM, sebb wrote: Note that lack of recent activity is not necessarily a bad sign; in this case I think it's because the code is working fine. I could find no outstanding bugs for the compon

Re: [exec] Redirecting input

2010-11-30 Thread Siegfried Goeschl
calling exec.setStreamHandler( new PumpStreamHandler( out, err, System.in ) ); but I never tried that personally. Having said that I would be happy if you could some feedback how it worked ... :-) Cheers, Siegfried Goeschl On 11/29/10 5:35 PM, n...@dad.org wrote: How can I redirect my input

Re: [exec] Redirecting input

2010-12-02 Thread Siegfried Goeschl
Hi Norman, I'm asking for it :-) Thanks in advance Siegfried Goeschl On 12/2/10 5:15 PM, n...@dad.org wrote: Update: Using your hint, I was able to get DefaultExecutor to redirect the invoker's stdin to the invokee's stdin. But I wasn't able to arrange for an EOF on

Re: [exec]Tutorial problem

2010-12-18 Thread Siegfried Goeschl
Hi Susan, when you follow the tutorial you find a similar problem I had - my printer was out of paper so I was also politely informed. The general solution is using a watchdog which kills the process after a certain time. Cheers, Siegried Goeschl On 12/18/10 2:49 AM, Susan Jolly wrote: I'm

Re: How To Get The Output Of A Command Into A String Variable

2010-12-23 Thread Siegfried Goeschl
Hi Carlo, you see the output because it is redirected to stdout. Can you check http://commons.apache.org/exec/xref-test/org/apache/commons/exec/DefaultExecutorTest.html we have a lot of tests (e.g. testExecute()) doing exactly that Cheers, Siegfried Goeschl On 12/23/10 10:36 AM, Carlo

  1   2   >