Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Email Connect is used to create a connection with the mail account in order to send or retrieve data from the mentioned mail account.

Email Connection String format : Type | IP-Address/Host Name | Port | Security Type | User Name | Password

The email protocol types available in BQ platform are :

  1. IMAP

  2. POP3

  3. SMTP

The security types available in BQ platform are :

  1. None

  2. SSL

  3. TLS

Steps to create an Email Connection :

  1. Click on CONFIGURE on left panel.

  2. Click on Email Connect.

  3. Enter the meta data for :

    1. Variable name

    2. Type : Select from IMAP, SMTP, POP3

    3. IP Address / Host Name

    4. Port

    5. Security Type : Select from None, SSL, TLS

    6. User Name : Mail account username

    7. Password : Mail account password

  4. Click on Save button.

The Email connection variable created can be used in the test case.

If you are trying to configure your Gmail account, you can find the IP-Address/Host Name, Port, Security Type information by following either of the two ways :

Following the below steps :
1- Click on the Settings icon on your mailbox
2- Click on Settings
3- Click on Forward and POP/IMAP tab
4- Click on Learn More Link (under IMAP access section)

Link : https://support.google.com/mail/answer/7126229?hl=en&visit_id=637256414356189534-3292911035&rd=2

If you are still unable to access your account, please follow the link : https://support.google.com/a/answer/6260879?hl=en 

In case you are using a gmail account, please make sure to switch ON the Less secure app access. (Navigate to Manage your Google account > Security)

Also, if you are using java version 291, you might encounter error “Could not connect to mail server with given credentials, Please validate“ with keyword ‘setMailConnection’.

As per JDK 8u291 Update Release Notes :

TLS 1.0 and 1.1 are versions of the TLS protocol that are no longer considered secure and have been superseded by more secure and modern versions (TLS 1.2 and 1.3)

These versions have now been disabled by default. If you encounter issues, you can, at your own risk, re-enable the versions by removing "TLSv1" and/or "TLSv1.1" from the jdk.tls.disabledAlgorithms security property in the java.security configuration file.

Watch a video :

This video displays how to create a mail connection and use it in a test case.

Email Connect

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.