Can you ping your mail server by host name from the machine where the 
Email service is registered?  e..g ping mail.company.com

If this doesn't work, then you need to resolve this problem (which has 
nothing to do with STAF) before you can use it as a mail server for the 
STAF Email service.

If this does work, then do the following:

Make sure you are you using the latest version of the Email service which 
is V3.3.5. You can check the version by running: STAF local EMAIL VERSION

Are there are any errors in your Email service log? You can view the log 
by running: 

    STAF local LOG QUERY MACHINE {STAF/Config/MachineNickname} LOGNAME 
email 
See section "Using Telnet to Debug Mail Server Problems" in the STAF Email 
Service User's Guide at 
http://staf.sourceforge.net/current/email.html#Header_Telnet and try to 
submit the same email request via telent.  It should fail the same way the 
STAF Email service fails.  If so, you will need to investigate why your 
mail server is unable to send the email.

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




From:   John Andoh <john.an...@gmail.com>
To:     Sharon Lucas/Austin/IBM@IBMUS
Cc:     staf-users@lists.sourceforge.net
Date:   08/01/2011 05:40 PM
Subject:        [staf-users] STAF send mail not working...



Hi Sharon, et al:

Fyi, the send mail portion of STAF is not working on my server.
 
The STAF mailserver is configured as follows:
 
service EMAIL library JSTAF execute 
{STAF/Config/STAFRoot}/services/email/STAFEmail.jar  PARMS MAILSERVER 
mail.company.com
 
But, sending mails get these error messages:
 
 
C:\>
C:\>staf local email send to john.an...@company.com subject "Test Message" 
message "Hello and Welcome to STAF/STAX"
Error submitting request, RC: 4001
Additional info
---------------
Socket IO Error: java.net.UnknownHostException: mail.company.com 
Mailserver: mail.company.com Port: 25
 
C:\>
 
 
C:\>nslookup mail.company.com
Server:  dns.company.com
Address:  123.45.34.254
 
Non-authoritative answer:
Name:    mail.company.com
Address:  10.12.34.124
Aliases:  mail.company.com
 
 
DNS is working OK. Firewall rules have been updated to allow send mails 
from the STAF server
So, I don’t know what is going on.

Please help! Thanks!

Regards,
John Andoh
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users


------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to