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 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 search for "adminEmail" and see where else you are declaring it.

Simon

On 11 Jun 2008, at 15:24, David Avendasora wrote:

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 thinking that.

Dave

On Jun 11, 2008, at 7:10 AM, Amedeo Mantica wrote:


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.javamail.ERMailDelivery.sendMail(ERMailDelivery.java:319)
at net .esagono.components.ESContactForm.sendRequest(ESContactForm.java:94)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)



but...

.
.
# Mail
er.javamail.centralize=false
[EMAIL PROTECTED]
er.javamail.debugEnabled=true
er.javamail.milliSecondsWaitIfSenderOverflowed=6000
er.javamail.smtpHost=192.168.1.4
er.javamail.smtpAuth=false
er.javamail.smtpUser=
er.javamail.smtpPassword=
.
.
.


??? why?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/simon_mclean%40mac.com

This email sent to [EMAIL PROTECTED]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to