Forum Discussion

nfollin's avatar
nfollin
Occasional Contributor
11 years ago

Java Mail Connection Reset

I'm getting a connection reset error in SOAPUI running a groovy script to send an email but the same script works fine in groovy itself. Has anyone else encountered this problem?

3 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Do you require proxy for your connection? If so, is the proxy defined in:
    File > Preferences > Proxy Settings tab

    Thanks,
    Michael Giller
    SmartBear Software
  • nfollin's avatar
    nfollin
    Occasional Contributor
    It ended up being neccesary to authenticate via TLS over a standard SMTP port and to add the trust store for the email server into the soapUI VM options rather then in the mail properties or by using a System.setProperty() for the truststore password and store location.
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Thanks for following up with a resolution that worked for you.

    Thanks,
    Michael Giller
    SmartBear Software