**#****#**Environment (for Web testing) Chrome68.0.3440.84
I’m having real difficulties setting up emailing to send a test report on completion.
I’ve tried various settings and settled on sending it via my personal email account with the following settings (having read various threads about this issue):
When I click Send test email, I get the following error:
I’ve looked in the logs and noticed the following “cause”:
com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first
I’ve pinged smtp.gmail.com and get a response, so there’s no issue there.
Anyone able to help please? It’d be massively useful if I can email out the test results.
That’s strange as I’ve checked and double-checked the username and password. I’ve tried logging in with the exact same credentials to Google Mail and it’s fine.
Turns out I had the insecure apps enabled for the wrong account but I’ve now turned that on for the correct account. Still the same issue and the same cause in the logs
Thank you for all of your suggestions, really appreciate the help
Right, not sure what’s going on with Gmail but we have now got this working with my work email. Turns out there were some settings that needed turning on in the G Suite settings!
So, I now receive the test email, which is great. Unfortunately the information is incorrect in it and there’s no attachment, despite setting “Include report as email attachment” to HTML file!
My email is not working and throwing an error while running via Jenkins and on testing email, it comes to inbox but not when I trigger the suite.
System is unable to email report. Reason: net.lingala.zip4j.exception.ZipException: no files to add
at net.lingala.zip4j.zip.ZipEngine.addFiles(ZipEngine.java:63)
at net.lingala.zip4j.zip.ZipEngine.addFolderToZip(ZipEngine.java:254)
at net.lingala.zip4j.core.ZipFile.addFolder(ZipFile.java:356)
at net.lingala.zip4j.core.ZipFile.addFolder(ZipFile.java:330)
at net.lingala.zip4j.core.ZipFile.addFolder(ZipFile.java:309)
at com.kms.katalon.execution.util.MailUtil.zip(MailUtil.java:201)
at com.kms.katalon.execution.util.MailUtil.attach(MailUtil.java:175)
at com.kms.katalon.execution.util.MailUtil.sendSummaryMail(MailUtil.java:122)
at com.kms.katalon.execution.launcher.ReportableLauncher.sendReportEmail(ReportableLauncher.java:191)
at com.kms.katalon.execution.launcher.ReportableLauncher.sendReport(ReportableLauncher.java:161)
at com.kms.katalon.execution.launcher.ReportableLauncher.preExecutionComplete(ReportableLauncher.java:99)
at com.kms.katalon.execution.launcher.ProcessLauncher.onWatchdogComplete(ProcessLauncher.java:191)
at com.kms.katalon.execution.launcher.LaunchWatchdog.notifyProcessTerminated(LaunchWatchdog.java:136)
at com.kms.katalon.execution.launcher.LaunchWatchdog.run(LaunchWatchdog.java:66)
at java.lang.Thread.run(Thread.java:748)
Try this: If you have a GMail account, use the settings in my post for the Server and Port, and your GMail address and password. Also, you need to click this link
( https://myaccount.google.com/security ), and log in with your GMail credentials in order to set “Apps with account access” - “Allow less secure apps:” to “ON”…