On Jun 27, 2007, at 4:07 PM, Gary Hunt wrote:
> Greetings,
>
> I'm taking the plunge from Xcode to Eclipse/WOLips now
About time
> and hit a snag
> on setting the SMTP host in my app.
>
> It does not seem to be reading the WOSMTPHost value in the app's
> Properties file.
>
> I noticed that in the Eclipse preferences, you can set the WOLips
> Launch argument for WOSMTPHost. I tried changing it there, but
> it insists on using a default value of "smtp".
>
> What's the proper way of setting this in Eclipse/WOLips?
Properties file works fine for me. I use these settings defining
three properties (I use Wonder substitution feature so I only define
it once)
my.smtpserver=smtpserver.mydomain.com
WOSMTPHost..my.smtpserver@@
log4j.appender.myMail.SMTPHost..my.smtpserver@@
er.javamail.smtpHost..my.smtpserver@@
A good idea is to use Project Wonder's ERJavaMail and turn on the
debug feature if smtp mail is giving you trouble.
>
> Thanks!
>
> --
> Gary Hunt
This archive was generated by hypermail 2.0.0 : Wed Jun 27 2007 - 16:47:43 EDT