@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 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 stick.
> 
> I don't know how to print out those properties at launch as you suggest, but 
> maybe it's a good idea to figure. Do you know a method call that reports what 
> the app is using for properties?
> 
> 
> On Dec 15, 2010, at 4:09 PM, Farrukh Ijaz wrote:
> 
>> 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 console as it spits 
>> complete properties list).
>> 
>> Farrukh
>> 
>> On 2010-12-15, at 11:56 PM, Jesse Tayler wrote:
>> 
>>> 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 correctly anyway --
>>> 
>>> On Dec 15, 2010, at 3:47 PM, Farrukh Ijaz wrote:
>>> 
>>>> Dis you try setting following properties as well?
>>>> 
>>>> mail.smtp.host
>>>> mail.smtp.port
>>> 
>>> _______________________________________________
>>> 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/farrukh.ijaz%40fuegodigitalmedia.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/farrukh.ijaz%40fuegodigitalmedia.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