Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Error on tSendMail

Hi!
I'm new in TOS and I'm trying to do some easy job at the beginning. I used to find all the solutions
of my issues in this forum but now I'm stuck on this:
I'm currently working on a job sending an email with the tSendMail component. I filled this:
To: "name_to@domain_to.com"
From: "name_from@domain_from.com"
Cc: ""
Bcc: ""
Subject: "Test message"
Message: "This is a test message!"
Die if attachment file doesn't exist: Unchecked
Attachments: Blank
Other headers: Blank
SMTP host: "130.98.XXX.XXX"
SMTP port: 25
SSL Support: Unchecked
STARTTLS Support: Unchecked
Need authentication?: Unchecked
But I get this error:
Exception in component tSendMail_1
javax.mail.MessagingException: Could not connect to SMTP host: 130.98.XXX.XXX, port: 25;
nested exception is:
java.net.SocketException: Software caused connection abort: connect
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:297)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at dam_01.email_0_1.eMail.tSendMail_1Process(eMail.java:261)
at dam_01.email_0_1.eMail.runJobInTOS(eMail.java:401)
at dam_01.email_0_1.eMail.main(eMail.java:309)
Caused by: java.net.SocketException: Software caused connection abort: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
... 9 more

Like I'm using a Domino (Lotus Notes) SMTP server (IP address: 130.98.XXX.XXX) I was thinking about getting in trouble with this, so I installed
Mozilla Thunderbird and but this same settings in order to send an email and it works correctly.
So I got the right settings but I can't send an email by tSendMail.
Any ideas?

I'm using TOS 3.0.3 in a Java project.
Labels (3)
11 Replies
rishind
Contributor III
Contributor III

in java.security file ,remove TLSv1, TLSv1.1 ,save it and run again.

Anonymous
Not applicable
Author

Hello,

Maybe you could disable security TLS algorithm in java.security file instead of removing for further processing.

# jdk.tls.disabledAlgorithms=SSLv3, TLSv1, TLSv1.1, RC4, DES, MD5withRSA,\

Best regards

Sabrina