• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

I can't send email

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I installed Sendmail on Linux AS4. I can send email by linux command line. But I can't send email by JForum. What problem has it?
[originally posted on jforum.net by unsee]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you double checked the mail settings? open SystemGlobals.properties / jforum-custom.conf and check all mail.* keys.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have tried both; editing SystemGlobals.properties and through admin console (which updated jforum-custom.conf) with smtp host and port info with no authn. However, the test send mail always failed with "java.net.SocketException: Software caused connection abort: connect". I've dumped the whole trace and there is nothing particular about it; simply couldn't create the socket.

I have tried a test program and called Ajaxutil.SendTestMail directly with same smtp information, it worked fine. The only difference I could tell was one running within container (Tomcat) and called from Ajax javascript, the other called from Java app.

On the same system, I also tried using Thunderbird to verify the smtp host, port and it got through okay.

Any suggestion? Thanks!
-Jerry
[originally posted on jforum.net by jshiau]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hard to say. Is there any error in the application server logs? May you post it here?

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, Rafael,

It is working now. I don't know how I got the test app to work which mislead me. It turns out changing McAfee settings took care of the problem after all. I didn't try that first because I thought I didn't have privilege to do that in this production system.

thanks anyway,
Jerry
[originally posted on jforum.net by jshiau]
 
You have to be odd to be #1 - Seuss. An odd little ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic