• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ERJaveMail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERJaveMail


  • Subject: Re: ERJaveMail
  • From: Mike Schrag <email@hidden>
  • Date: Tue, 29 May 2012 09:19:59 -0400

my guess is that your regex pattern for er.javamail.emailPattern doesn't work. i'm not even going to try debugging that one, though. what's wrong with the pattern that's built into erjavamail?

On May 29, 2012, at 2:43 AM, Ron X <email@hidden> wrote:

hi,

i have some strange error on application start:

WARN  38.33 MB used/42.73 MB free [ProcessChangesQueue] (ERXNSLogLog4jBridge.java:43)  - A fatal exception occurred: When 'er.javamail.centralize' is true (default), all outgoing mails will get sent to 'er.javamail.adminEmail' instead of the normal TO addresses, but you did not provide a valid email for that property.
[2012-5-28 23:40:30 PDT] <ProcessChangesQueue> java.lang.IllegalArgumentException: When 'er.javamail.centralize' is true (default), all outgoing mails will get sent to 'er.javamail.adminEmail' instead of the normal TO addresses, but you did not provide a valid email for that property.
    at er.javamail.ERJavaMail.initializeFrameworkFromSystemProperties(ERJavaMail.java:132)
    at er.javamail.ERJavaMail.finishInitialization(ERJavaMail.java:113)
    at er.extensions.ERXFrameworkPrincipal$Observer.willFinishInitialization(ERXFrameworkPrincipal.java:97)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

but i have

### ERJavaMail
er.javamail.centralize = true
er.javamail.smtpHost = localhost
er.javamail.defaultEncoding = UTF-8
er.javamail.emailPattern = ^[a-zA-Z0-9!#$%&'*+\\-/=?^_`{|}~]+(\\.[a-zA-Z0-9!#$%&'*+\\-/=?^_`{|}~]+)*@[a-zA-Z0-9]([a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9]){0,1}((\\.[a-zA-Z0-9]([a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9]){0,1})*\\.[a-zA-Z]{2,6}){1,1}$

er.javamail.adminEmail = email@hidden

in my property file
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: ERJaveMail
      • From: "Cheong Hee (Gmail)" <email@hidden>
    • Re: ERJaveMail
      • From: "Cheong Hee (Gmail)" <email@hidden>
References: 
 >ERJaveMail (From: Ron X <email@hidden>)

  • Prev by Date: Re: D2W: Selectors for enum types?
  • Next by Date: New Tomcat 6 Deployment
  • Previous by thread: ERJaveMail
  • Next by thread: Re: ERJaveMail
  • Index(es):
    • Date
    • Thread