IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only

B2BServer's SmtpClient hangs

  • 1.  B2BServer's SmtpClient hangs

    Posted 01/08/03 05:15 AM

    I am using B2B WM 4.0.1 SP 3.

    In B2B Integrator, I am writing services that invoke pub.client:smtp. I find that this method acts different, depending whether you call it with a “mimeStream” argument or with a “body” argument.

    We have an external SMTP server that seems to have trouble with MIME email, but not with plain email. With plain email (using “body”), a mail gets sent immediately. With MIME email (“mimeStream”), the call to pub.client:smtp HANGS.

    After going through the code, I find that pub.client.smtp(Values) invokes the javamail Transport class for non-MIME, but invokes com.wm.net.SmtpClient for MIME.

    It would be great if you could fix the com.wm.net.SmtpClient so that it times out.


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB