This is a companion discussion topic for the original entry at https://docs.katalon.com/katalon-studio/docs/emails-settings.html
This is a companion discussion topic for the original entry at https://docs.katalon.com/katalon-studio/docs/emails-settings.html
Hello Support,
It would be great to be able to include the profile of the executed suite in the email that is being received. A new variable like ${executionProfileName}.
Thank you,
Cornel Neacsu
It would also be helpful to add new variable for test suite collection names (eg. ${collectionSuiteName}).
Also valuable to have the collection suite name sent to Katalon Analytics in addition to the suite names already there.
Thank you,
Mike Willett.
Hello Katalon Team
I would be really helpful to provide details of how to fetch Hostname , Protocol , Port etc if user like to send email to his/her organization email address.
@utkarsh.chaudhary, for corporate email, you can contact your local IT team to get SMTP Host ,Port number and protocol.
Port number is usually either 25 or 587 but better to confirm same from your local IT Team.
Thanks @Sachin for reply .
I also tried with my gmail account but getting below error when tried to test email
âUnable to send email to the following server :smtp.gmail.com:25 . Please check configuration on your email serverâ.
I also check one thread that going on i.e .Mail setup not working properly
but unfortunately we didnât configure email settings , please let us know what are the detail steps to setup email .
Have you allowed less secure app to be logged in Gmail? That might be blocking your login.
Debug Point:
-
Are you getting any mail while you try to send Test email? If you are getting any mail in your default account saying âlast login blockedâ then possibly you do not have enabled less secure app login
-
if you are not able to see any mail in your default account, there is something wrong with your creds or port or security protocol might be blocking this.
I also had this problem. As Rudra have mentioned allow less secure app to access Gmail
- Go to https://myaccount.google.com/security
- Enable âLess secure app accessâ
Host : smtp.gmail.com
Port : 465
Protocol : SSL
I canât seem to get TLS protocol working for Gmail, though
Btw I recommend creating a Gmail acc just for SMTP cause enabling less secure app will definitely make that Gmail acc more vulnerable
Hello Team
I am to send email using my organization email , majority of the corporate email use outlook as their host , below are the details of domain and Port for outlook email
1.Hostname : outlook.office365.com
2.Port : 993
3.Username : User you organization username(do not enter you org email here , enter your org username which you use to unlock you PC) .
4.Password : User organization password
5.Protocol : TLS
I am still not able to solve the gmail issue .
@rudra : thanks rudra for your input , to answer you question
Have you allowed less secure app to be logged in Gmail? yes I have done that but still no luck
I will keep you guys posted once I found the solution
I have just tried with my organization email which uses corporate email, office365.com as host. and successfully sent email. I have used below setting.
Host: smtp.office365.com
Port: 587
username: organization email
password: organization password
Protocol: TLS
I echo @Cornel_Neacsu request of showing the profile name ⌠this huge benefit as you can tell on which environment the test ran
Hy Guys. Maybe something that would be great for people that works with multiple proyects, we migh need to be able to create multiple templates or Add âProjectNameâ into the current list that Katalon already has.
Greetings
Hi.
Iâm a problem with email settings. My intranet SMTP server uses simple username (not in e-mail format with @ and so on) and requires extra setting of sender email (mail from:) as part of local security politic. When I set username as âtesterâ(for example), eMail test button in the formular stays not active and email sending does not work.
Please, can You extend eMail formular with âmail fromâ fields and remove email format restrictions from username?
Thank you in advance
Regards,
Alex
Hi,
Iâm trying to use a AWS SES sender account as SMTP server and Iâm not able to send report due to username field doesnât allow names that not matching with an email.
Any solution for this?
Thanks in advance.
Try editing the com.kms.katalon.execution.properties file in your sub directory â\settings\internalâ of your project. There is a line âmailConfig.username=â where you can enter your username manually. Hope that did the trick for you.
I have another problem / bug:
No matter what port i enter, the test email will always use smtp.###.com:25 but i need port 587 (TLS at smtp.1und1.de). Whatâs the point? Can you pls fix this or tell me what iâm doing wrong???
Some issues with email: The value of the port is ignored in the GUI (same problem as Dietrich). Can someone acknowledge that as a bug or provide more support. Thanks,
Hi Dietrich,
Iâm using through Katalon project settings to configure the email and put the following data.
*Server Name: *email-smtp.eu-west-1.amazonaws.com
*Port: *25, 465 or 587
Use Transport Layer Security (TLS) : Yes
The server configuration is OK, but the user that SES gave me was this:
SMTP username (Example): FGT73GK73H8VGD
SMTP Password (Example): hvvHvHJY&7vvV6gCGc+8hgGGyJ
I can not send TEST mail and send report neither with that SMTP username, Katalon considers it an error because it does not match the email format, I think.
Hi,
deselect âEnrypt authentication data (recommended)â and you will be able to edit the âcom.kms.katalon.execution.propertiesâ
Glad i am not the only one:grin:
HI,
I am not able to send a test email. I am getting this error message. Glad if anyone can help me on this.
Hi Dietrich,
I deselected the âEncrypt optionâ and also edited the âcom.kms.katalon.execution.propertiesâ file with SES smtp credentials of AWS. Katalon doesnât send the email yet, I tried to execute the test suite through terminal and the end of the tests returns the following java error:
Sending report to email: [anonymized@anonimyzed.com]...
System is unable to email report. Reason: org.apache.commons.mail.EmailException: javax.mail.internet.AddressException: Missing final â@domainâ in string ANONIMYZED'' at org.apache.commons.mail.Email.createInternetAddress(Email.java:1920) at org.apache.commons.mail.Email.setFrom(Email.java:749) at org.apache.commons.mail.Email.setFrom(Email.java:732) at com.kms.katalon.execution.util.MailUtil.initEmail(MailUtil.java:81) at com.kms.katalon.execution.util.MailUtil.sendSummaryMail(MailUtil.java:118) 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) Caused by: javax.mail.internet.AddressException: Missing final '@domain' in string
ANONIMYZEDââ
at javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:915)
at javax.mail.internet.InternetAddress.validate(InternetAddress.java:856)
at org.apache.commons.mail.Email.createInternetAddress(Email.java:1916)
⌠11 more
I have anonymized some fields
Thanks in advance
EDIT: I found the cause here: AWS SES IAM credentials
Amazon SES uses IAM credentials instead of email and password due to security reasons. It would be interesting to propose an extension for email tool of Katalon Studio ^^