Re: Weird problem when sending mail with ERJavaMail

2019-04-29 Thread Markus Ruggiero
Thanks all who came up with ideas. With your help and the help of Mr. Google I finally found out what to do: Had to define the following property: mail.smtp.localhost=gugus.rucotec.ch This was not needed up to now but maybe, perhaps I did upgrade my mail server f

Re: Weird problem when sending mail with ERJavaMail

2019-04-27 Thread Maik Musall
Hi Markus, do you have reverse DNS records in place that would resolve 192.168.56.46 to a FQDN? Maik > Am 27.04.2019 um 14:45 schrieb Markus Ruggiero : > > When I try to send mail I get that weird error and mail fails. Why would the > receiver address be rejected? I never had problems so far

Weird problem when sending mail with ERJavaMail

2019-04-27 Thread Markus Ruggiero
When I try to send mail I get that weird error and mail fails. Why would the receiver address be rejected? I never had problems so far. Anyone can spot something I miss? I am sending from the development machine which has a local DHCP address and thus no fully qualified host name, but the error

Re: ERJavaMail duplicate?

2016-09-06 Thread Paul Hoadley
On 7 Sep 2016, at 3:13 AM, Flavio Donadio wrote: > Importing stops at ERJavaMail (WonderSource/Framework/Core/ERJavaMail) > because there’s another one right after it > (WonderSource/Framework/Mail/ERJavaMail). I tried keeping only one, but it > makes no obvious difference. This

Re: ERJavaMail duplicate?

2016-09-06 Thread Flavio Donadio
14:43, Flavio Donadio >>>> <mailto:fla...@donadio.com.br>> wrote: >>>>> >>>>> Hello, all! >>>>> >>>>> >>>>> I’ve not done any development in quite some time. Now, I’m trying to get >>>>> back

Re: ERJavaMail duplicate?

2016-09-06 Thread Flavio Donadio
> >>> Eclipse is Luna (4.4) and it’s updated to the latest version, along with >>> WOLips. m2e was installed along with Eclipse. >>> >>> Got Wonder 7.0 from git and tried to import the projects into my workspace. >>> I decided to start with a n

Re: ERJavaMail duplicate?

2016-09-06 Thread Flavio Donadio
; > Eclipse is Luna (4.4) and it’s updated to the latest version, along with > WOLips. m2e was installed along with Eclipse. > > Got Wonder 7.0 from git and tried to import the projects into my workspace. I > decided to start with a new workspace, since I had changed so many thi

ERJavaMail duplicate?

2016-09-06 Thread Flavio Donadio
version, along with WOLips. m2e was installed along with Eclipse. Got Wonder 7.0 from git and tried to import the projects into my workspace. I decided to start with a new workspace, since I had changed so many things already. Importing stops at ERJavaMail (WonderSource/Framework/Core/ERJavaMail

Re: migrations and erjavamail?

2013-08-27 Thread Jesse Tayler
ork, ERCoreBusinessLogic, > Postgresql. but the app complained that erjavamail was missing so I added it > in, and my app started. > > On the standard query all page, I see "ERC Mail Message" and other mail > entities. So I queried one to see what I get and the app crashes. A

migrations and erjavamail?

2013-08-27 Thread Theodore Petrosky
I created a new D2W app. linked in my framework, ERCoreBusinessLogic, Postgresql. but the app complained that erjavamail was missing so I added it in, and my app started. On the standard query all page, I see "ERC Mail Message" and other mail entities. So I queried one to see what

RE: ERJavaMail Error [Solved]

2013-03-07 Thread Oscar González
hi all,Well I need an entry smtpProtocol in my properties. er.javamail.smtpProtocol = smtps Thanks. From: racso...@hotmail.com To: webobjects-dev@lists.apple.com Subject: ERJavaMail Error Date: Thu, 7 Mar 2013 19:31:46 -0600 Hola a todos,I'm trying to use ERJavaMail but got an

ERJavaMail Error

2013-03-07 Thread Oscar González
Hola a todos,I'm trying to use ERJavaMail but got an error sending mailsI use this properties er.javamail.centralize=true er.javamail.adminEmail=myacco...@gmail.com er.javamail.smtpHost=smtp.googlemail.com er.javamail.smtpAuth=true er.javamail.smtpUser=myu...@gmai

Re: ERJavaMail - work only in debug !

2012-09-29 Thread Chuck Hill
LOL I would never have guessed that! Happy that you have it figured out now. Chuck On 2012-09-29, at 5:41 AM, Pierre Gilquin wrote: > I wanted, in some circonstance (use in a cron), my app to send messages and > stop. > So I have a System.exit "after" the sendings. > > In run mode, System.e

Re: ERJavaMail - work only in debug !

2012-09-29 Thread Pierre Gilquin
I wanted, in some circonstance (use in a cron), my app to send messages and stop. So I have a System.exit "after" the sendings. In run mode, System.exit was reached before the mails can be sent ! It's was not a WO/Wonder problem. Sorry for noise and thanks for the help ... I am baffled. I h

Re: ERJavaMail - work only in debug !

2012-09-28 Thread Chuck Hill
"" >>> DEBUG SMTP: Found extension "AUTH", arg "LOGIN CRAM-MD5 DIGEST-MD5" >>> DEBUG SMTP: Found extension "SIZE", arg "26214400" >>> DEBUG SMTP: Attempt to authenticate >>> DEBUG SMTP: check mechanisms: LOGIN PLAIN

Re: ERJavaMail - work only in debug !

2012-09-28 Thread Pierre Gilquin
MAIL FROM:<> 250 MAIL FROM: OK RCPT TO: 250 RCPT TO: OK DEBUG SMTP: Verified Addresses DEBUG SMTP: xx DATA 354 Start mail input; end with . Date: Thu, 27 Sep 2012 17:03:45 +0200 (CEST) From: xx To: xx Message-ID: <24164377.1.1348758225131.JavaMail.pierre@pier

Re: ERJavaMail - work only in debug !

2012-09-27 Thread Pierre Gilquin
imagine any difference. For the whole trace, the only difference is < java.vm.info=mixed mode for debug > java.vm.info=mixed mode, sharing for run The properpeties related to ERJavaMail are : er.javamail.adminEmail=myem...@mydomain.org er.javamail.centralize

Re: ERJavaMail - work only in debug !

2012-09-27 Thread Chuck Hill
TP: use8bit false > MAIL FROM:<> > 250 MAIL FROM: OK > RCPT TO: > 250 RCPT TO: OK > DEBUG SMTP: Verified Addresses > DEBUG SMTP: xx > DATA > 354 Start mail input; end with . > Date: Thu, 27 Sep 2012 17:03:45 +0200 (CEST) > From: xx > To: xx > Message-ID: <24

Re: ERJavaMail - work only in debug !

2012-09-27 Thread Pierre Gilquin
MAIL FROM: OK RCPT TO: 250 RCPT TO: OK DEBUG SMTP: Verified Addresses DEBUG SMTP: xx DATA 354 Start mail input; end with . Date: Thu, 27 Sep 2012 17:03:45 +0200 (CEST) From: xx To: xx Message-ID: <24164377.1.1348758225131.JavaMail.pierre@pierre-desktop> Subject: Mon test envoi mail avec ERJavaMa

Re: ERJavaMail - work only in debug !

2012-09-27 Thread Pierre Gilquin
n.log.info("after sendMail "); So the only difference I can see is run or debug in Eclipse ! maybe user-permissions issues? are you certain you can send as the user who's running WO and all? On Sep 27, 2012, at 6:05 AM, Pierre Gilquin wrote: Hi all, I (try to) sent mail

Re: ERJavaMail - work only in debug !

2012-09-27 Thread Jesse Tayler
maybe user-permissions issues? are you certain you can send as the user who's running WO and all? On Sep 27, 2012, at 6:05 AM, Pierre Gilquin wrote: > Hi all, > > > > I (try to) sent mail with ERJavaMail framework. > > This is done in my Application class at star

ERJavaMail - work only in debug !

2012-09-27 Thread Pierre Gilquin
Hi all, I (try to) sent mail with ERJavaMail framework. This is done in my Application class at start time. The "funny" thing is that the mail is sent when I am in debug after executing the line : message.sendMail(); With normal execution, nothing happens and the mail is not s

Re: problem with compiling ERJavaMail

2012-06-01 Thread Chuck Hill
sers/asacksadmin/Repository/WonderSource/Frameworks/Core/ERJavaMail/Components > > global.compile: > > global.dummy: > [wocompile] Compiling 17 source files to > /Users/asacksadmin/Roots/classes/ERJavaMail > [wocompile] > /Users/asacksadmin/Repository/WonderSource/Fr

problem with compiling ERJavaMail

2012-06-01 Thread Theodore Petrosky
right direction. Ted global.prepare: [mkdir] Created dir: /Users/asacksadmin/Repository/WonderSource/Frameworks/Core/ERJavaMail/Components global.compile: global.dummy: [wocompile] Compiling 17 source files to /Users/asacksadmin/Roots/classes/ERJavaMail [wocompile] /Users/asacks

Re: ERJavaMail

2012-02-15 Thread Cheong Hee (Gmail)
t for record.. - Original Message - From: "Gino Pacitti" To: "Cheong Hee (Gmail)" Sent: Thursday, February 16, 2012 3:23 AM Subject: Re: ERJavaMail Hi Cheong Do you have an example of this? GIno On 15 Feb 2012, at 10:29, Cheong Hee (Gmail) wrote: Hi Gino F

Re: ERJavaMail

2012-02-15 Thread Cheong Hee (Gmail)
List" Sent: Wednesday, February 15, 2012 6:04 PM Subject: Re: ERJavaMail I am doing this... ERMailDeliveryHTML mail = new ERMailDeliveryHTML(); mail.setComponent(pageToRender); mail.newMail(); mail.setFromAddress(FROM_ADDRESS);

Re: ERJavaMail

2012-02-15 Thread Gino Pacitti
in; charset=utf-8 Content-Transfer-Encoding: base64 If this is the cause is there there a way to set the Content- Transfer-Encoding using ERJavaMail? Or am I missing something? Gino ___ Do not post admin requests to the list. They will be ignored.

ERJavaMail

2012-02-14 Thread Gino Pacitti
ERJavaMail? Or am I missing something? Gino ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options

ERJavaMail

2012-02-14 Thread Gino Pacitti
ERJavaMail? Or am I missing something? Gino ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options

Subject: Re: Problems with ERJavaMail

2011-10-03 Thread Frank Gibau
with a telnet session to see if you need some security settings on your server. You are right. The problem is not WO or ERJavaMail. The problem was on the side of our new Mailprovider. Now it works. Thank you for your help. Frank ___ Do not post

Re: Problems with ERJavaMail

2011-09-29 Thread Jesse Tayler
ilsettings in the > Application:Properties-File. > Here are our properties: > #======== > # ERJavaMail > # > er.javamail.defaultEncoding=U

Problems with ERJavaMail

2011-09-29 Thread Frank Gibau
: # # ERJavaMail # er.javamail.defaultEncoding=UTF-8 er.javamail.centralize=false er.javamail.adminEmail=intranet.mai...@xxx.de er.javamail.debugEnabled=true er.javamail.milliSecondsWaitIfSenderOverflowed=6000

ERJavaMail Silently Dying?

2011-09-01 Thread Lawson, Ben
Hey list, We are running an application that sends out a fair number of email messages over time, but lately have seen an issue where messages begin to be queued in ERJavaMail and then messages stop going out altogether. Nothing happens and nothing is logged, and future messages aren't q

Re: Properties for ERJavaMail - Unknown SMTP host: smtp;

2010-12-16 Thread Jesse Tayler
gt; A quick and dirty way to *see* exactly where it's failing is to look at the > debug stack trace when you get the error and you should see the line in > ERJavaMail that the exception is coming from. Click on the line and it'll > take you to the source. You should be able to ha

Re: Properties for ERJavaMail - Unknown SMTP host: smtp;

2010-12-16 Thread John Larson
A quick and dirty way to *see* exactly where it's failing is to look at the debug stack trace when you get the error and you should see the line in ERJavaMail that the exception is coming from. Click on the line and it'll take you to the source. You should be able to hash out from

Re: Properties for ERJavaMail - Unknown SMTP host: smtp;

2010-12-15 Thread Jesse Tayler
'd look again >> tomorrow. >> >> Does this error look familiar? >> >> On Dec 15, 2010, at 6:17 PM, D Tim Cummings wrote: >> >>> Does your Application class extend ERXApplication? >>> >>> >&g

Re: Properties for ERJavaMail - Unknown SMTP host: smtp;

2010-12-15 Thread John Larson
ation? >> >> >> On 16/12/2010, at 8:44 AM, Jesse Tayler wrote: >> >>> ack! yes, thanks - it works better when you actually use the ERJavaMail! >>> >>> now I just get a transport error, wh

Re: Properties for ERJavaMail - Unknown SMTP host: smtp;

2010-12-15 Thread Jesse Tayler
m Cummings wrote: > Does your Application class extend ERXApplication? > > > On 16/12/2010, at 8:44 AM, Jesse Tayler wrote: > >> ack! yes, thanks - it works better when you actually use the ERJavaMail! >> >> now I just get a transport

Re: Properties for ERJavaMail - Unknown SMTP host: smtp;

2010-12-15 Thread D Tim Cummings
Does your Application class extend ERXApplication? On 16/12/2010, at 8:44 AM, Jesse Tayler wrote: > ack! yes, thanks - it works better when you actually use the ERJavaMail! > > now I just get a transport error, which seems less mysterious at least -- > >

Re: Properties for ERJavaMail - Unknown SMTP host: smtp;

2010-12-15 Thread Jesse Tayler
ack! yes, thanks - it works better when you actually use the ERJavaMail! now I just get a transport error, which seems less mysterious at least -- > ERROR er.javamail.ERMailSender - Unable to connect to SMTP Transport. ___ Do not post ad

Re: Properties for ERJavaMail - Unknown SMTP host: smtp;

2010-12-15 Thread D Tim Cummings
WOMailDelivery WOMailDelivery.sharedInstance().composePlainTextEmail(String aSender,NSArray toAddresses,NSArray bccAddresses,String aSubject,String aMessage,boolean sendNow) ERJavaMail er.javamail.ERMailDeliveryPlainText mail = new er.javamail.ERMailDeliveryPlainText (); mail.newMail

Re: Properties for ERJavaMail - Unknown SMTP host: smtp;

2010-12-15 Thread Farrukh Ijaz
Hi, We also set this property in application's didFinishLaunching() method. this.setSMTPHost(ERXProperties.stringForKeyWithDefault("mail.smtp.host", "127.0.0.1")); You need to set WOSMTPHost property in order to use this. Check for this method in the API doc. http://www.webobjects.me/API/wo54

Re: Properties for ERJavaMail - Unknown SMTP host: smtp;

2010-12-15 Thread Jesse Tayler
ah, well, I _thought_ I was using ERJavaMail... I think I was looking at the BugTracker app for implementation -- did I misunderstand? should I be using another method construct to actually do things like send notifications? I'm just setting up the usual "welcome" emails an

Re: Properties for ERJavaMail - Unknown SMTP host: smtp;

2010-12-15 Thread D Tim Cummings
setSMTPHost() sets the host for WOMailDelivery. There is also a launch argument "-WOSMTPHost hostname" or property WOSMTPHost=hostname er.javamail.smtpHost is used for ERJavaMail which is a better way of sending emails but sounds like it is not what you are using. Tim On 16/12/201

Re: Properties for ERJavaMail - Unknown SMTP host: smtp;

2010-12-15 Thread Jesse Tayler
ok, I can see the properties print out during launch as a logging default too, and they look as I'd expect both ways. er.javamail.smtpHost=oeinc.com mail.smtp.host=oeinc.com I even printed out the setting during the direct action that I use to send the test email and it was fine if I set the

Re: Properties for ERJavaMail - Unknown SMTP host: smtp;

2010-12-15 Thread Farrukh Ijaz
@Override public void didFinishLaunching() { super.didFinishLaunching(); System.err.println(ERXProperties.stringForKey("mail.smtp.host")); } On 2010-12-16, at 12:30 AM, Jesse Tayler wrote: > well, I can set the application's setSMTPHost() method at launch which will > point to t

Re: Properties for ERJavaMail - Unknown SMTP host: smtp;

2010-12-15 Thread Jesse Tayler
well, I can set the application's setSMTPHost() method at launch which will point to the server, but still doesn't seem to read the properties where I ask for authentication etc. I can see the properties file is being used by some packages, so I wonder why these rules don't seem to want to stic

Re: Properties for ERJavaMail - Unknown SMTP host: smtp;

2010-12-15 Thread Farrukh Ijaz
We don't use er.javamail.smtpHost property and it works for us. nslookup resolves both oeinc.com and mail.oeinc.com with same IP and telnet on port 25 is working. Try log the properties in your applications' didFinishLaunching() method and inspect what are the values. (You can also look at the

Re: Properties for ERJavaMail - Unknown SMTP host: smtp;

2010-12-15 Thread Jesse Tayler
hmm -- good idea, I was not aware of those however, I get the same error even after listing my host and port 25 I think, same error anyway checking around on example apps, I see similar configurations, but all to fake domains of course. sure seems simple enough, if I'm interpreting the error c

Re: Properties for ERJavaMail - Unknown SMTP host: smtp;

2010-12-15 Thread Farrukh Ijaz
gt; It looks to me like ERJavaMail is reverting to the WOSmtpHost setting which > I'm thinking is "smtp" and thus the error? In that case, it seems like it > isn't using my setting below? > > I'm just running this all at my desk developer environment > >

Re: Properties for ERJavaMail - Unknown SMTP host: smtp;

2010-12-15 Thread Jesse Tayler
thanks URL? I'm pretty sure that property is meant to be a domain name and oeinc.com is the one I wanted to test with It looks to me like ERJavaMail is reverting to the WOSmtpHost setting which I'm thinking is "smtp" and thus the error? In that case, it seems like it isn

Re: Properties for ERJavaMail - Unknown SMTP host: smtp;

2010-12-15 Thread Paul D Yu
That needs to be the url of the smtp server. typically, smtp.domain.com. sometimes mail.domain.com Paul On Dec 15, 2010, at 3:18 PM, Jesse Tayler wrote: > I'm setting up ERJavaMail and set this line in the properties for my app > > # ERJavaMail > er.javamail.s

Properties for ERJavaMail - Unknown SMTP host: smtp;

2010-12-15 Thread Jesse Tayler
I'm setting up ERJavaMail and set this line in the properties for my app # ERJavaMail er.javamail.smtpHost=oeinc.com But I get an error suggesting that maybe it is defaulting to "smtp" which doesn't resolve? Caused by: javax.mail.MessagingException: Unk

Re: ERJavaMail with SSL SMTP authentication?

2010-01-12 Thread Mike Schrag
er.javamail.smtpProtocol=smtps On Jan 12, 2010, at 3:01 PM, Mike Nowak wrote: > This is probably an easy answer but I can't find out how to do it with an > example or by setting properties. If my SMTP server needs authentication and > uses SSL, what properties do I need to set for er.javamail?

ERJavaMail with SSL SMTP authentication?

2010-01-12 Thread Mike Nowak
This is probably an easy answer but I can't find out how to do it with an example or by setting properties. If my SMTP server needs authentication and uses SSL, what properties do I need to set for er.javamail? I have the following: er.javamail.debugEnabled=true er.javamail.smtpHost=XXX er.java

Fwd: Using ERJavaMail with IMAG

2009-10-01 Thread Pascal Robert
I forgot to cc the list. De : Pascal Robert Date : 1 octobre 2009 06:58:44 HAE À : Gustavo Pizano Objet : Rép : Using ERJavaMail with IMAG IMAP is to RETRIEVE emails, not sending them. I think that with some email systems, if you use SMTP authentification the MTA might automatically add

Re: Using ERJavaMail with IMAG

2009-10-01 Thread Gustavo Pizano
Ah I see. I will take a lokk at the link Pascal sent me. http://issues.objectstyle.org/jira/browse/WONDER-118 Thanks for the info :D G. On Oct 1, 2009, at 12:52 PM, Kieran Kelleher wrote: Gustavo, ERJavaMail is just a client for sending mail. It does not matter whether the recipient&#

Re: Using ERJavaMail with IMAG

2009-10-01 Thread Kieran Kelleher
Gustavo, ERJavaMail is just a client for sending mail. It does not matter whether the recipient's account is IMAP or POP. ERjavaMail communicates with the SMTP server which sends the Email. To connect to the SMTP server you need to know the hostname and optionally port (if non-sta

Using ERJavaMail with IMAG

2009-10-01 Thread Gustavo Pizano
Hello all. I have been reading on how to send eMails from within WO app, I saw the wiki and the examples how to do this.. so I think I understand how to achieve it. Now I was asked to check if is possible to do it using an IMAP server, I didn't get the whole idea why, I understood is to

Debugging ERJavaMail

2008-10-15 Thread Ramsey Gurley
Hi everyone, I'm attempting to repair the ERJavaMail bug that causes the context jumping mentioned in the Gotchas section on the wiki: http://wiki.objectstyle.org/confluence/display/WO/Project+WONDER-Frameworks-ERJavaMail Since I'm using D2W pages, the workaround mentioned will n

ERJavaMail exception

2008-06-20 Thread James Cicenia
: java.lang.IllegalStateException: warning: There is already a unique instance for Bundle named 'ERJavaMail'. Use NSBundle.bundleForName(ERJavaM ail) to access it: name:'ERJavaMail' bundlePath:'/usr/local/apple/Library/WebObjects/ Applications/Blakey.woa/Contents/Library/Framewo

Re: ERJavamail bug ?? - TEMPORARY SOLVED BUT NEED INVESTIGATING

2008-06-14 Thread Lachlan Deck
On 13/06/2008, at 6:40 PM, Amedeo Mantica wrote: public class Application extends ERXAjaxApplication { ERXMessageEncoding.setDefaultEncodingForAllLanguages("UTF8"); Besides everything else in this thread you want UTF-8 (i.e., with the hyphen) with regards, -- Lachlan D

Re: ERJavamail bug ?? - [SOLVED]

2008-06-13 Thread Mike Schrag
that blows a large hole in my theory as to why amed's app wasn't initializing ERJavaMail properly. Given that it works when he subclasses ERXApplication something doesn't quite seem right. Anyway, it's late on a friday night here. I'm off to finish my nice chilled

Re: ERJavamail bug ?? - [SOLVED]

2008-06-13 Thread Simon McLean
h. well that blows a large hole in my theory as to why amed's app wasn't initializing ERJavaMail properly. Given that it works when he subclasses ERXApplication something doesn't quite seem right. Anyway, it's late on a friday night here. I'm off to finish my

Re: ERJavamail bug ?? - [SOLVED]

2008-06-13 Thread Chuck Hill
saying ERJavaMail can be used independently or wonder. If it is a wonder only notification, then should people who are trying to use ERJavaMail independently of wonder initialise the framework in their own code - ie. there is nothing that is automagically going to do it for them ? Check

Re: ERJavamail bug ?? - [SOLVED]

2008-06-13 Thread Simon McLean
hi mike - for education purposes: is ApplicationWillFinishLaunching a wonder- only notification ? After posting my thoughts to Amed i did wonder whether a normal WO app posts this notification anyway - especially after other people posted saying ERJavaMail can be used independently or

Re: ERJavamail bug ?? - [SOLVED]

2008-06-13 Thread Mike Schrag
ing ERXApplication's constructor it posts an ApplicationWillFinishLaunching notification which subsequently causes frameworks to fire their "finishInitialization" method and it is during this process that ERJavaMail calls "initializeFrameworkFromSystemProperties

Re: ERJavamail bug ?? - [SOLVED]

2008-06-13 Thread Amedeo Mantica
ation" method and it is during this process that ERJavaMail calls "initializeFrameworkFromSystemProperties". ERXAjaxApplication does not post an ApplicationWillFinishLaunching, which is I guess why your framework(s) are not being initialized. So, maybe it's a bug in ERXAj

Re: ERJavamail bug ?? - ApplicationWillFinishLaunching isn't called

2008-06-13 Thread Simon McLean
blems because I believe the problem is here: During ERXApplication's constructor it posts an ApplicationWillFinishLaunching notification which subsequently causes frameworks to fire their "finishInitialization" method and it is during this

Re: ERJavamail bug ?? - TEMPORARY SOLVED BUT NEED INVESTIGATING

2008-06-13 Thread Amedeo Mantica
nitialise stuff to work. Or call it explicitly as you are now doing. Simon On 12 Jun 2008, at 12:55, Amedeo Mantica wrote: Hello Simon and all, I looked at ERJavaMail sources, now I have put in my Application constructor ERJavaMail .sharedInstance().initializeFrameworkFromSystemProperties()

Re: ERJavamail bug ?? - TEMPORARY SOLVED BUT NEED INVESTIGATING

2008-06-12 Thread Simon McLean
at 12:55, Amedeo Mantica wrote: Hello Simon and all, I looked at ERJavaMail sources, now I have put in my Application constructor ERJavaMail.sharedInstance().initializeFrameworkFromSystemProperties(); but I don't understand why this method is not automatically called Mine is an ERXAjaxA

Re: ERJavamail bug ?? - TEMPORARY SOLVED BUT NEED INVESTIGATING

2008-06-12 Thread Amedeo Mantica
Hello Simon and all, I looked at ERJavaMail sources, now I have put in my Application constructor ERJavaMail.sharedInstance().initializeFrameworkFromSystemProperties(); but I don't understand why this method is not automatically called Mine is an ERXAjaxApplication. Thank you all Re

Re: ERJavamail bug ??

2008-06-12 Thread Gavin Eadie
On Jun 12, 2008, at 6:54 AM, Simon McLean wrote: [Is] it is a wonder app (are you subclassing ERXApplication / ERXSession etc) ? if you are then you can create a properties file in your user directory called WebObjects.properties (/users/simon/ WebObjects.properties for example) and put pr

Re: ERJavamail bug ??

2008-06-12 Thread Simon McLean
ad in when your app starts up so it overrides anything in your apps and frameworks. we always declare ERJavaMail settings there - particularly "centralise" as that could be a disaster if it's set wrong !! It's also really useful because different developers can have dif

Re: ERJavamail bug ??

2008-06-12 Thread Amedeo Mantica
Hi Simon 1) Thank you very very much for the help 2) I have the ERJavaMail binary, my Properties are in the Resources folder of my app, I don't know any other methods: WebObjects.properties file ?? where or in the app properties --- OK i have set er.javamail.centralize = fals

Re: ERJavamail bug ??

2008-06-11 Thread Simon McLean
Strange... The ERJavaMail shared instance can't see your properties. Are you running off an ERJavaMail binary, or the wonder source ? are your properties settings in your WebObjects.properties file, or in the app properties, or in the framework properties ? Next step for me would

Re: ERJavamail bug ??

2008-06-11 Thread Amedeo Mantica
sure: ERMailDeliveryHTML mailToEsagono = new ERMailDeliveryHTML(); // Here ERMailDeliveryHTML needs a WOComponent to render the HTML text content. mailToEsagono.setComponent(toEsagono); // Here you create a new instance of the message //

Re: ERJavamail bug ??

2008-06-11 Thread Simon McLean
Can you post the actual code ? Simon On 11 Jun 2008, at 19:00, Amedeo Mantica wrote: Hi Simon, it's very strange! The value is not null !, is exactly the value i put on the properties file! Regards Amedeo On 11/giu/08, at 16:58, Simon McLean wrote: Are you sure that property is not gett

Re: ERJavamail bug ??

2008-06-11 Thread Amedeo Mantica
Hi Simon, it's very strange! The value is not null !, is exactly the value i put on the properties file! Regards Amedeo On 11/giu/08, at 16:58, Simon McLean wrote: Are you sure that property is not getting overridden somewhere else (like from the default wonder properties) ? just before

Re: ERJavamail bug ??

2008-06-11 Thread Simon McLean
Are you sure that property is not getting overridden somewhere else (like from the default wonder properties) ? just before your exception do a: log.debug("My admin email = "+System.getProperty("er.javamail.adminEmail")); and check it's value. i bet it's null, in which case do a full text

Re: ERJavamail bug ??

2008-06-11 Thread David Avendasora
I ran into exactly this myself a couple months ago when trying to set it up, but I figured it was just me doing something wrong and moved on to other more pressing issues. I was using: [EMAIL PROTECTED] So, I don't think it's anything with the parser not liking the ".it", if anyone was th

Re: ERJavamail bug ??

2008-06-11 Thread Amedeo Mantica
setted centralize to false via application costructor... ERJavaMail.sharedInstance().setCentralize(false); now I get this... DEBUG: setDebug: JavaMail version 1.4ea Jun 11 16:11:54 esagono[26000] (ERMailSender.java:257) ERROR er.javamail.ERMailSender - Unable to connect to SMTP Transport.

ERJavamail bug ??

2008-06-11 Thread Amedeo Mantica
java.lang.IllegalArgumentException: When setting 'er.javamail.centralize=true' (which means you just test sending mails), you must also give a valid '[EMAIL PROTECTED]' to which the mails are sent. at er.javamail.ERMailDelivery.sendMail(ERMailDelivery.java:338) at er.javama

Re: ERJavaMail and system properties

2008-03-02 Thread Anjo Krank
It is working now. On 02.03.2008, at 09:12, Mike Schrag wrote: my system properties are not recognized by ERJavaMail. It complains with the following message: When setting 'er.javamail.centralize=true' (which means you just test sending mails), you must also give a valid '[EM

Re: ERJavaMail and system properties

2008-03-02 Thread Sergio Sánchez Maffet
Schrag wrote: my system properties are not recognized by ERJavaMail. It complains with the following message: When setting 'er.javamail.centralize=true' (which means you just test sending mails), you must also give a valid '[EMAIL PROTECTED] ' to which the mails are sent.

Re: ERJavaMail and system properties

2008-03-02 Thread Sergio Sánchez Maffet
On 02.03.2008, at 09:12, Mike Schrag wrote: my system properties are not recognized by ERJavaMail. It complains with the following message: When setting 'er.javamail.centralize=true' (which means you just test sending mails), you must also give a valid '[EMAIL PROTECTED]

Re: ERJavaMail and system properties

2008-03-02 Thread Mike Schrag
my system properties are not recognized by ERJavaMail. It complains with the following message: When setting 'er.javamail.centralize=true' (which means you just test sending mails), you must also give a valid '[EMAIL PROTECTED] ' to which the mails are sent. I have alrea

ERJavaMail and system properties

2008-03-01 Thread Sergio Sánchez Maffet
Hi all, my system properties are not recognized by ERJavaMail. It complains with the following message: When setting 'er.javamail.centralize=true' (which means you just test sending mails), you must also give a valid '[EMAIL PROTECTED] ' to which the mails are sent. I h

Re: Trouble setting properties in ERJavaMail

2007-03-29 Thread Kieran Kelleher
n. HTH, Kieran On Mar 29, 2007, at 12:38 PM, Kevin Windham wrote: I'm struggling trying to figure out where the properties file is supposed to be that loads in settings for ERJavaMail. I have searched and found listings of the properties I should set to fix my problem, but I can't f

Re: Trouble setting properties in ERJavaMail

2007-03-29 Thread Guido Neitzer
On 29.03.2007, at 10:38, Kevin Windham wrote: # * Enables ERJavaMail to send all the mails to only one destination # This is useful when debugging er.javamail.centralize = false I still get this, Exception sending email: java.lang.IllegalArgumentException: When setting

Trouble setting properties in ERJavaMail

2007-03-29 Thread Kevin Windham
I'm struggling trying to figure out where the properties file is supposed to be that loads in settings for ERJavaMail. I have searched and found listings of the properties I should set to fix my problem, but I can't figure out where to put them. I have tried putting them in the

Re: Help with ERJavaMail and system properties

2006-10-10 Thread Dev WO
7; to which the mails are sent.hidid you try to set the property directly whitin the Properties File in the ERJavaMail framework?ERJavaMail.framework\Resources\Propertiesbest regardsoliver On 10/9/06, Dev WO <[EMAIL PROTECTED]> wrote: I just added: System.out.println( "At startup, centra

Re: Help with ERJavaMail and system properties

2006-10-10 Thread Dev WO
e sent.hidid you try to set the property directly whitin the Properties File in the ERJavaMail framework?ERJavaMail.framework\Resources\Propertiesbest regardsoliver On 10/9/06, Dev WO <[EMAIL PROTECTED]> wrote: I just added: System.out.println( "At startup, centralize propertie is: "

Re: Help with ERJavaMail and system properties

2006-10-09 Thread Dev WO
et the property directly whitin the Properties File in the ERJavaMail framework?ERJavaMail.framework\Resources\Propertiesbest regardsoliver On 10/9/06, Dev WO <[EMAIL PROTECTED]> wrote: I just added: System.out.println( "At startup, centralize propertie is: " + System.getProperty( &qu

Re: Help with ERJavaMail and system properties

2006-10-09 Thread Mike Schrag
What version of PW are you using?  There was a bug sometime after the the switchover to the new startup procedure that resulted in ERJavaMail not initializing any of its properties, but I believe that has since been fixed.msOn Oct 9, 2006, at 8:46 AM, Dev WO wrote:Hi,I followed the different

Re: Help with ERJavaMail and system properties

2006-10-09 Thread Dev WO
]' to which the mails are sent.hidid you try to set the property directly whitin the Properties File in the ERJavaMail framework?ERJavaMail.framework\Resources\Propertiesbest regardsoliver On 10/9/06, Dev WO <[EMAIL PROTECTED]> wrote: I just added: System.out.println( "At s

Re: Help with ERJavaMail and system properties

2006-10-09 Thread Oliver Egger
hidid you try to set the property directly whitin the Properties File in the ERJavaMail framework?ERJavaMail.framework\Resources\Propertiesbest regardsoliver On 10/9/06, Dev WO <[EMAIL PROTECTED]> wrote: I just added: System.out.println( "At startup, centralize p

Re: Help with ERJavaMail and system properties

2006-10-09 Thread Dev WO
,I followed the different resources about using ERJavaMail:-the list-Kieran's blog: http://homepage.mac.com/kelleherk/iblog/C183784902/E2093239404/index.html-Wiki book: http://en.wikibooks.org/wiki/Programming:WebObjects/Project_WONDER/Frameworks/ERJavaMailSo far I though everything was working as

Help with ERJavaMail and system properties

2006-10-09 Thread Dev WO
Hi,I followed the different resources about using ERJavaMail:-the list-Kieran's blog: http://homepage.mac.com/kelleherk/iblog/C183784902/E2093239404/index.html-Wiki book: http://en.wikibooks.org/wiki/Programming:WebObjects/Project_WONDER/Frameworks/ERJavaMailSo far I though everything was wo

Re: ERJavaMail erroneously returns component

2006-08-01 Thread shaun
Fabian Peters wrote: Hi Drew, see <http://en.wikibooks.org/wiki/Programming:WebObjects/ Project_WONDER/Frameworks/ERJavaMail#Gotchas> cheers Fabian I return "this" from the action method rather than null which seems to work ok, YMMV. Note: The behaviour is not WON

  1   2   >