Emails Settings

This is a companion discussion topic for the original entry at
1 Like

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.

1 Like

@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.

1 Like

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 . 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:

  1. 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

  2. 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

  1. Go to
  2. Enable “Less secure app access”

Host :
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 :
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

Hi @utkarsh.chaudhary

I have just tried with my organization email which uses corporate email, as host. and successfully sent email. I have used below setting.

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.


1 Like

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


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 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 but i need port 587 (TLS at What’s the point? Can you pls fix this or tell me what i’m doing wrong??? :face_with_raised_eyebrow:

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,

1 Like

Hi Dietrich,

I’m using through Katalon project settings to configure the email and put the following data.

*Server Name: *
*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.


deselect “Enrypt authentication data (recommended)” and you will be able to edit the “”


Glad i am not the only one:grin:


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 “” 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: []...

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( at org.apache.commons.mail.Email.setFrom( at org.apache.commons.mail.Email.setFrom( at com.kms.katalon.execution.util.MailUtil.initEmail( at com.kms.katalon.execution.util.MailUtil.sendSummaryMail( at com.kms.katalon.execution.launcher.ReportableLauncher.sendReportEmail( at com.kms.katalon.execution.launcher.ReportableLauncher.sendReport( at com.kms.katalon.execution.launcher.ReportableLauncher.preExecutionComplete( at com.kms.katalon.execution.launcher.ProcessLauncher.onWatchdogComplete( at com.kms.katalon.execution.launcher.LaunchWatchdog.notifyProcessTerminated( at at Caused by: javax.mail.internet.AddressException: Missing final '@domain' in stringANONIMYZED’’
at javax.mail.internet.InternetAddress.checkAddress(
at javax.mail.internet.InternetAddress.validate(
at org.apache.commons.mail.Email.createInternetAddress(
… 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 ^^