Is it possible to use the mail-check bot plugin with RPA Express?

Hello,

Is it possible to use the mail-check bot plugin (or any other bot plugin) with RPA Express? If not, are there any viable alternatives with RPA express?

Thank you,

You cannot use it directly in the recording.
But you can use it if you write a bot task in the code perspective of the WF Studio, and then publish it as a bot task to Control Tower and use as a part of your business process.

To see documentation on the mail-check and other plugins, go to Help - Help Contents - Bot task plugins in the code perspective.

1 Like

Thank you, I did what you said and it did work :grinning:

1 Like

Great :grinning:
Glad it helped!

i am very much new to RPA express …Can someone please help me with the steps to use mail-check plugin …I want to read the client mail

As in uipath we have separate action for reading mail …can we have that in RPA express

Hi @nutan_kadam there are no special email actions, but you can automate it using clicks on Window controls and keystrokes (if you use Outlook, for example), images or xpaths (in web application).

Hope these topics will be helpful

Thank you so much for your reply …Just one more question Can we run powershell script from RPA express.

@nutan_kadam try this solution

Also, please vote for this feature request to raise its priority.

Hi @ashapkina, I am using below code base to read email but getting error from it like

error:

No such property: connectionProps for class: Script2

code:

  <script><![CDATA[
	Properties connectionProps = new Properties();
	connectionProps.put("mail.transport.protocol", "smtp");
	connectionProps.put("mail.smtp.port", "587");
	connectionProps.put("mail.smtp.starttls.enable", "true");
	connectionProps.put("mail.smtp.auth", "true");
]]></script>
   
   <var-def name="new_mails">
	<mail-check connection-props="${connectionProps}"
		user="myemail@gmail.com" password="mypassword"
		subject-pattern="EMAIL WF" max-messages="10" max-message-size="10" />
</var-def>

<export include-original-data="true">
	<single-column name="new_mails" value="${new_mails}" />
</export>

Hi @abhimanyu_thit try deleting Properties from the 1st line

<script><![CDATA[
	connectionProps = new Properties();
	connectionProps.put("mail.transport.protocol", "smtp");
	connectionProps.put("mail.smtp.port", "587");
	connectionProps.put("mail.smtp.starttls.enable", "true");
	connectionProps.put("mail.smtp.auth", "true");
]]></script>

@ashapkina , I tries your solution but getting below error.

Invalid protocol: null

not able to understand how can we use the variables from java code.