Have you tried using the com.sun.mail implementation instead?

In my experience it's more robust than geronimo mail. For TomEE 1.7.x
you just add the mail.jar and activation.jar files to tomee/endorsed,
and then your application will be using them instead of geronimo mail.

Note: For TomEE 7.0.x this workaround doesn't seem to work though.

-- 
Bjorn Danielsson
Cuspy Code AB


jyerrami <[email protected]> wrote:
> Hi,Our application is using TomEE 1.7.X version and java version 1.6.We are
> using java mailing services to send mail. I have looked at all the posts
> online and configured the properties file . I still get the failure. Please
> help.Note: I have replaced the actual values with XXX for privacy
> issues.javax.mail.SendFailedException: Send failure
> (javax.mail.MessagingException: Failure sending HELO command to SMTP server)
> at javax.mail.Transport.send(Transport.java:163)      at
> javax.mail.Transport.send(Transport.java:48)Here is our
> configuration:starttime = 09:35PMmail.transport.protocol =
> smtpmail.smtp.starttls.enable = truemail.from.address =
> [email protected] =xxxx.xxxxxx#password=mail.smtp.host =
> xx.xx.xx.xxconfirmDatabaseMatch = 1storedProcRetryCount = 5fetchRowLimit =
> 250fetchRowLimitReassignment = 250sendStringParametersAsUnicode =
> truegetNextRecdTimeDelay = 5000refreshQGCache = 1What am I missing.Regards,
>
>
>
> --
> View this message in context: 
> http://tomee-openejb.979440.n4.nabble.com/Failure-using-javax-mail-services-with-TomEE-tp4681322.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to