Send together the name and email address of the sender

1
0
-1

Hi everyone,

Is it possible to send emails from the Bonita email connector as shown in the attached image?

conector-Bonita-Example.png

That is, you want to send the sender's email along with the sender's name. Or is it necessary to modify the connector to achieve this?

2 answers

1
+2
-1
This one is the BEST answer!

A proper solution is described in the [documentation](https://documentation.bonitasoft.com/bonita/2022.1/process/messaging).

The expected standard format is: `john.doe@acme.com (John Doe)`

There is additional work to do if the user name contains non ascii characters. I let you check the doc for more information.

HTH
Romain

1
0
-1

Hello,

You can set the property From to include the name as well as the email address.

In the groovy script dialog, you need to put this :

'Acme company <youremail@test.com>'

Careful, don't put comma between the name and the email! In your example you have a comma and it will generate an error saying that the address is invalid.

Comments

Submitted by alexjhcm_2529035 on Fri, 04/08/2022 - 01:27

You mean generate a String like this?

from-Example1.png

Or like this?

from-Example2.png

Notifications